0.0.1 • Published 2 years ago

artie-logger v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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