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 });
forked from moooji/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
Robust logger for browser and node that sends log messages to logstash http server
License
wyscout/logstash
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published
Languages
- JavaScript 100.0%