@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
f
prefixEmptyLines
Whether to prefix log calls with no parameters, e.g. console.log()
Set this to true will keep writing prefix in this case
Set this to false will end up with a blank line
Default 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 messages Use following single character to represent date parts: y - year, m - month, d - day, H - hour, M - minute, S - second, T - millisecond