mirror of
https://github.com/iptv-org/iptv
synced 2026-10-25 12:28:53 -04:00
Update log.js
This commit is contained in:
1 parent
3010309608
commit
6e7733db4c
1 file changed
+3
-2
@@ -1,7 +1,8 @@
|
|||||||
const log = {}
|
const log = {}
|
||||||
|
|
||||||
log.print = function (string) {
|
log.print = function (message) {
|
||||||
process.stdout.write(string)
|
if (typeof message === 'object') message = JSON.stringify(message, null, 2)
|
||||||
|
process.stdout.write(message)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.start = function () {
|
log.start = function () {
|
||||||
|
|||||||
Reference in new issue
Block a user