Skip to content

duythinht/log4js-chaika-appender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log4js-chaika-appender

Install

npm install --save log4js-chaika-appender

Simple example:

var log4js = require('log4js');
var chaika = require('log4js-chaika-appender')

var count = 0

log4js.addAppender(chaika.configure({
  "type": "log4js-syslog-appender",
  "host": "54.254.228.180", //defaults to localhost
  "port": 2435, //defaults to 12201
  "facility": "node-test-server", //defaults to nodejs-server
  "service": 'chaika'
}))


var logger = log4js.getLogger('princess');

logger.debug(`Just a log for chaika, count:`, count++);

About

Log appender for log4js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published