@monitorss/logger
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,3 @@ | ||
const path = require('path') | ||
module.exports = { | ||
@@ -5,3 +7,3 @@ root: true, | ||
parserOptions: { | ||
project: ['tsconfig.json'], | ||
project: [path.join(__dirname, 'tsconfig.json')], | ||
}, | ||
@@ -8,0 +10,0 @@ ignorePatterns: [ |
@@ -0,0 +0,0 @@ { |
@@ -37,3 +37,2 @@ "use strict"; | ||
const setupLogger = (config) => { | ||
// console.log('SETTING UP BOIII'); | ||
const consoleLogger = new ConsolePrettyLogger_1.default({}); | ||
@@ -61,2 +60,3 @@ const debugTransports = config.enableDebugLogs | ||
}); | ||
infoTransports.push(datadogLogger); | ||
warnTransports.push(datadogLogger); | ||
@@ -63,0 +63,0 @@ errorTransports.push(datadogLogger); |
@@ -0,0 +0,0 @@ # Change Log |
@@ -0,0 +0,0 @@ /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ |
{ | ||
"name": "@monitorss/logger", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -42,4 +42,3 @@ "main": "build/index.js", | ||
"winston": "^3.3.3" | ||
}, | ||
"gitHead": "da95ad12b6a56148ad835ae52df8ccfc96bfd235" | ||
} | ||
} |
@@ -0,0 +0,0 @@ import { |
@@ -0,0 +0,0 @@ import winston from 'winston'; |
@@ -0,0 +0,0 @@ import winston from 'winston'; |
@@ -0,0 +0,0 @@ import { AbstractLogger, LoggerOptions } from './AbstractLogger'; |
@@ -89,7 +89,4 @@ import ConsoleJSONLogger from './ConsoleJSONLogger'; | ||
const setupLogger = (config: Config) => { | ||
// console.log('SETTING UP BOIII'); | ||
const consoleLogger = new ConsolePrettyLogger({}); | ||
const debugTransports: LoggerType[] = config.enableDebugLogs | ||
@@ -117,2 +114,3 @@ ? [consoleLogger] | ||
}); | ||
infoTransports.push(datadogLogger); | ||
warnTransports.push(datadogLogger); | ||
@@ -119,0 +117,0 @@ errorTransports.push(datadogLogger); |
@@ -0,0 +0,0 @@ export type InternalCommonLoggerLogLevel = 'debug' | 'info' | 'warn' | 'error'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35809
719
25