Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor() {
const logFormat = format.combine(
//format.colorize(),
format.align(),
format.printf((x: any) => `${x.level}: ${x.message}`)
);
this.log_inst = winston.createLogger({
level: 'debug',
format: logFormat,
transports: [
new winston.transports.Console()
]
});
this.logz_inst = winston.createLogger({
level: 'info',
transports: [
new logzio_transport({
level: 'info',