mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(client) log: return str
This commit is contained in:
parent
83440e6da8
commit
1ece504bd6
1 changed files with 3 additions and 3 deletions
|
|
@ -23,10 +23,10 @@ function CloudCmdProto(Util, DOM) {
|
|||
let Listeners;
|
||||
|
||||
const log = (str) => {
|
||||
if (!Debug)
|
||||
return;
|
||||
if (Debug)
|
||||
console.log(str);
|
||||
|
||||
console.log(str);
|
||||
return str;
|
||||
};
|
||||
|
||||
const CloudCmd = this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue