Skip to content

Latest commit

 

History

History
19 lines (8 loc) · 514 Bytes

README.md

File metadata and controls

19 lines (8 loc) · 514 Bytes

node-logger

Formated output for logger with prio-prefix

To be used with logger or systemd-cat.

When used over a tty, the output is formated as with a normal console.log. However when piped, a prio-prefix is added to the output.

Example syntax :

Types

Generate / update types using :

npx -p typescript tsc ./lib/*.js --declaration --allowJs --emitDeclarationOnly --outDir types