Sha256: 9021b0f23c695d2cdc4d336d1f40e9641a7cc8063cea1ec95adca0a0899f2faf
Contents?: true
Size: 484 Bytes
Versions: 17
Compression:
Stored size: 484 Bytes
Contents
var log4js = require('../lib/log4js') , log , i = 0; log4js.configure({ "appenders": [ { type: "console" , category: "console" }, { "type": "file", "filename": "tmp-test.log", "maxLogSize": 1024, "backups": 3, "category": "test" } ] }); log = log4js.getLogger("test"); function doTheLogging(x) { log.info("Logging something %d", x); } for ( ; i < 5000; i++) { doTheLogging(i); }
Version data entries
17 entries across 17 versions & 2 rubygems