Skip to content
forked from moooji/logstash

Robust logger for browser and node that sends log messages to logstash http server

License

Notifications You must be signed in to change notification settings

wyscout/logstash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logstash logger

const createLogstash = require('logstash');

// required
const url = process.env.LOGSTASH_URL;

// optional
const tags = ['production', 'api'];
const level = "info";

// Create logger instance
const logger = createLogstash(url, tags, level);

logger.info("Hello Logger!", { data: 123 });

About

Robust logger for browser and node that sends log messages to logstash http server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%