log4js-node
Node.jsのlogger
website
github
npm
last publishが2 years agoになっているmrsekut.icon
features ref
うーん、読んでもよくわからんmrsekut.icon
coloured console logging to stdout or stderr
file appender, with configurable log rolling based on file size or date
SMTP appender
GELF appender
Loggly appender
Logstash UDP appender
logFaces (UDP and HTTP) appender
TCP appender (useful when you’ve got multiple servers but want to centralise logging)
a logger for connect/express servers
configurable log message layout/patterns
different log levels for different log categories (make some parts of your app log as DEBUG, others only ERRORS, etc.)
built-in support for logging with node core’s cluster module
third-party InfluxDB appender
Log Level
with Express
https://qiita.com/Kento75/items/3c6ae1ba1b433ae433a3
https://webbibouroku.com/Blog/Article/log4js
類似
pino
winston
https://github.com/winstonjs/winston
https://kazuhira-r.hatenablog.com/entry/2019/05/21/235843
starが多いmrsekut.icon
logの出力先を色々選べる
node-bunyan
https://github.com/trentm/node-bunyan
npmlog
https://github.com/npm/npmlog
morgan
https://github.com/expressjs/morgan
#??
console.logに比べて何が優れているの?
https://qiita.com/mabasasi/items/f392740e3d193ed93863