@dxatscale/sfp-logger
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -1,2 +0,2 @@ | ||
import chalk = require('chalk'); | ||
import chalk from 'chalk'; | ||
export declare enum LoggerLevel { | ||
@@ -3,0 +3,0 @@ TRACE = 10, |
@@ -25,2 +25,5 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -30,3 +33,4 @@ exports.COLOR_KEY_VALUE = exports.COLOR_KEY_MESSAGE = exports.COLOR_TIME = exports.COLOR_SUCCESS = exports.COLOR_HEADER = exports.COLOR_DEBUG = exports.COLOR_TRACE = exports.COLOR_INFO = exports.COLOR_WARNING = exports.COLOR_ERROR = exports.FileLogger = exports.VoidLogger = exports.ConsoleLogger = exports.LoggerLevel = void 0; | ||
const os_1 = require("os"); | ||
const chalk = require("chalk"); | ||
const chalk_1 = __importDefault(require("chalk")); | ||
const stripAnsi = require("strip-ansi"); | ||
var LoggerLevel; | ||
@@ -61,18 +65,18 @@ (function (LoggerLevel) { | ||
exports.FileLogger = FileLogger; | ||
exports.COLOR_ERROR = chalk.bold.red; | ||
exports.COLOR_WARNING = chalk.keyword('orange'); | ||
exports.COLOR_INFO = chalk.white; | ||
exports.COLOR_TRACE = chalk.gray; | ||
exports.COLOR_DEBUG = chalk.blue; | ||
exports.COLOR_HEADER = chalk.yellowBright.bold; | ||
exports.COLOR_SUCCESS = chalk.green.bold; | ||
exports.COLOR_TIME = chalk.magentaBright; | ||
exports.COLOR_KEY_MESSAGE = chalk.magentaBright.bold; | ||
exports.COLOR_KEY_VALUE = chalk.black.bold.bgGreenBright; | ||
exports.COLOR_ERROR = chalk_1.default.bold.red; | ||
exports.COLOR_WARNING = chalk_1.default.keyword('orange'); | ||
exports.COLOR_INFO = chalk_1.default.white; | ||
exports.COLOR_TRACE = chalk_1.default.gray; | ||
exports.COLOR_DEBUG = chalk_1.default.blue; | ||
exports.COLOR_HEADER = chalk_1.default.yellowBright.bold; | ||
exports.COLOR_SUCCESS = chalk_1.default.green.bold; | ||
exports.COLOR_TIME = chalk_1.default.magentaBright; | ||
exports.COLOR_KEY_MESSAGE = chalk_1.default.magentaBright.bold; | ||
exports.COLOR_KEY_VALUE = chalk_1.default.black.bold.bgGreenBright; | ||
class SFPLogger { | ||
static enableColor() { | ||
chalk.level = 2; | ||
chalk_1.default.level = 2; | ||
} | ||
static disableColor() { | ||
chalk.level = 0; | ||
chalk_1.default.level = 0; | ||
} | ||
@@ -86,8 +90,13 @@ static log(message, logLevel = LoggerLevel.INFO, logger) { | ||
return; | ||
// Split message into lines of 90 characters | ||
const maxLineLength = 120; | ||
const maxLineLength = 100; | ||
const originalLines = message.split('\n'); | ||
const lines = []; | ||
for (let i = 0; i < message.length; i += maxLineLength) { | ||
lines.push(message.substring(i, i + maxLineLength)); | ||
} | ||
originalLines.forEach(line => { | ||
while (stripAnsi(line).length > maxLineLength) { | ||
let subLine = line.substring(0, maxLineLength); | ||
line = line.substring(maxLineLength); | ||
lines.push(subLine); | ||
} | ||
lines.push(line); | ||
}); | ||
//Todo: Proper fix | ||
@@ -104,3 +113,3 @@ if (logger && logger.logType === 1 /* LoggerType.console */) { | ||
lines.forEach(line => { | ||
line = line.replace(/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g, ''); | ||
line = stripAnsi(line); | ||
fs.appendFileSync(fileLogger.path, line + os_1.EOL, 'utf8'); | ||
@@ -159,2 +168,2 @@ }); | ||
exports.default = SFPLogger; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU0ZQTG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL1NGUExvZ2dlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7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QUMsT0FBTyw0QkFBb0IsRUFBRTtnQkFDdEMsT0FBTzthQUNSO2lCQUFNLElBQUksTUFBTSxDQUFDLE9BQU8sNEJBQW9CLEVBQUU7Z0JBQzdDLE9BQU87YUFDUjs7Z0JBRUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQztTQUM1Qjs7WUFFQyxPQUFPLENBQUMsR0FBRyxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDO0lBRTdCLENBQUM7O0FBakdhLGtCQUFRLEdBQWdCLFdBQVcsQ0FBQyxJQUFJLENBQUM7QUFDekMsd0JBQWMsR0FBWSxLQUFLLENBQUM7a0JBRjNCLFNBQVMifQ== |
{ | ||
"name": "@dxatscale/sfp-logger", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "sfp logger library", | ||
@@ -17,3 +17,4 @@ "main": "lib/SFPLogger.js", | ||
"chalk": "^4.1.2", | ||
"fs-extra": "^9.1.0" | ||
"fs-extra": "^9.1.0", | ||
"strip-ansi": "^6.0.0" | ||
}, | ||
@@ -42,3 +43,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "db6d58a3476e87930b589a76a86bd7b59b3958a9" | ||
"gitHead": "30457f2248d295e8a5f30388b10239463bd95447" | ||
} |
Sorry, the diff of this file is not supported yet
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
16589
215
3
+ Addedstrip-ansi@^6.0.0
+ Addedansi-regex@5.0.1(transitive)
+ Addedstrip-ansi@6.0.1(transitive)