Sha256: 291512a51ff6611bcb6bcafc7b8540703b3a42d13dc6a45f15c755026d116906
Contents?: true
Size: 431 Bytes
Versions: 17
Compression:
Stored size: 431 Bytes
Contents
var log4js = require('./lib/log4js'); var config = { "appenders": [ { "type": "console", "layout": { "type": "pattern", "pattern": "%[%r (%x{pid}) %p %c -%] %m%n", "tokens": { "pid" : function() { return process.pid; } } } } ] }; log4js.configure(config, {}); var logger = log4js.getLogger("app"); logger.info("Test log message");
Version data entries
17 entries across 17 versions & 2 rubygems