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 :
Generate / update types using :
npx -p typescript tsc ./lib/*.js --declaration --allowJs --emitDeclarationOnly --outDir types