1.0.3 • Published 2 years ago
@rockads/data-suite-logger v1.0.3
Welcome to @rockads/data-suite-logger!
data-suite-logger is library of getting inheritance from graylog2 library for GrayLog systems. data-suite-logger should use overwrite on console object of node.js core global api.
Use
var logger = require("../logger");
console = logger(config);
config is required about using graylog2 library for connection and writing to Graylog
config object must be inside of below object
servers: [{ host: "localhost", port: 12201 }],
hostname: "localhost",
facility: "LambdaFunctions",
bufferSize: 1350,
level:7
enabled:true