Skip to main content

Built and signed on GitHub Actions

Brings coloring, timestamp prefix, files to deno log behavior with zero configuration

This package works with Deno
This package works with Deno
JSR Score
100%
Published
3 months ago (0.1.7)
f
prefixEmptyLines

Whether to prefix log calls with no parameters, e.g. console.log()Set this to true will keep writing prefix in this caseSet this to false will end up with a blank lineDefault is falseNote: there will always be prefix for log calls with parameters, even this causes empty line, e.g. console.log('')

v
raw

Get the raw console object in case you need to use the original console

f
setColors

Set colors for different log levels

f
setDateFormat

Set date format for timestamp prefix in log messagesUse following single character to represent date parts: y - year, m - month, d - day, H - hour, M - minute, S - second, T - millisecond