@poi/logger
Advanced tools
Comparing version 0.0.0 to 10.0.0-alpha.1
const util = require('util') | ||
const LogHorizon = require('log-horizon') | ||
const chalk = require('chalk') | ||
@@ -16,4 +17,8 @@ class Logger extends LogHorizon { | ||
} | ||
debug(title, message = '') { | ||
return super.debug(`${chalk.inverse.bold.yellow(` ${title} `)} ${message}`) | ||
} | ||
} | ||
module.exports = new Logger() |
{ | ||
"name": "@poi/logger", | ||
"version": "0.0.0", | ||
"version": "10.0.0-alpha.1", | ||
"publishConfig": { | ||
@@ -10,5 +10,7 @@ "access": "public" | ||
], | ||
"repository": "https://github.com/egoist/poi/tree/master/packages/logger", | ||
"dependencies": { | ||
"log-horizon": "^0.1.0" | ||
"chalk": "^2.3.2", | ||
"log-horizon": "^0.1.1" | ||
} | ||
} |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
764
19
2
+ Addedchalk@^2.3.2
Updatedlog-horizon@^0.1.1