@timepp/zero-config-deno-log@0.1.7Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
timepp/enhanced-deno-logBrings coloring, timestamp prefix, files to deno log behavior with zero configuration
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 false
Note: 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