UNPKG
@alucpro/note-tool
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
A NodeJS script that deal with markdown note.
github.com/AlucPro/note-tool
AlucPro/note-tool
@alucpro/note-tool
/
src
/
util
/
log.js
10 lines
(7 loc)
•
190 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
ctrl = {};
const
enableDebugLogKey =
Symbol
(
'primaryKey'
); ctrl[enableDebugLogKey] =
false
;
function
log
(
...args
) { ctrl[enableDebugLogKey] &&
console
.
log
(args); }
export
{ log };