Sha256: fd44fc1f695ec74287438087858dc7c8041230bcefc1ce3e558fb4805cbc5e2c
Contents?: true
Size: 610 Bytes
Versions: 17
Compression:
Stored size: 610 Bytes
Contents
//Note that loggly appender needs node-loggly to work. //If you haven't got node-loggly installed, you'll get cryptic //"cannot find module" errors when using the loggly appender var log4js = require('../lib/log4js'); log4js.configure({ "appenders": [ { type: "console", category: "test" }, { "type" : "loggly", "token" : "12345678901234567890", "subdomain": "your-subdomain", "tags" : ["test"], "category" : "loggly" } ] }); var logger = log4js.getLogger("loggly"); logger.info("Test log message"); //logger.debug("Test log message");
Version data entries
17 entries across 17 versions & 2 rubygems