artie-logger
v0.0.1
Published
Custom Logger Module for Artie AI Bot
Downloads
3
Readme
log.error("text", "inspect (optional))
Logs errors to the console. Aliases:
e
,err
log.warn("text", "inspect (optional))
Logs errors to the console. Aliases:
w
,warning
log.info("text", "inspect (optional))
Logs errors to the console. Aliases:
i
,information
log.debug("text", "inspect (optional))
Logs errors to the console. Aliases:
d
,db
,bug
log.timestamp()
Logs a timestamp to the console. Aliases:
t
,ts
,time
log.chalk(options)
Passes chalk though. Learn more at https://www.npmjs.com/package/chalk. Aliases:
c
log.moment(options)
Passes moment.js though. Learn more at https://momentjs.com/docs/. Aliases:
m