@slack/logger
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -46,6 +46,2 @@ /** | ||
/** | ||
* Return the current LogLevel. | ||
*/ | ||
getLevel(): LogLevel; | ||
/** | ||
* This allows the instance to be named so that they can easily be filtered when many loggers are sending output | ||
@@ -71,3 +67,2 @@ * to the same destination. | ||
constructor(); | ||
getLevel(): LogLevel; | ||
/** | ||
@@ -74,0 +69,0 @@ * Sets the instance's log level so that only messages which are equal or more severe are output to the console. |
@@ -21,5 +21,2 @@ "use strict"; | ||
} | ||
getLevel() { | ||
return this.level; | ||
} | ||
/** | ||
@@ -76,3 +73,2 @@ * Sets the instance's log level so that only messages which are equal or more severe are output to the console. | ||
} | ||
exports.ConsoleLogger = ConsoleLogger; | ||
/** Map of labels for each log level */ | ||
@@ -93,2 +89,3 @@ ConsoleLogger.labels = (() => { | ||
}; | ||
exports.ConsoleLogger = ConsoleLogger; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@slack/logger", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Logging utility used by Node Slack SDK", | ||
@@ -33,3 +33,3 @@ "author": "Slack Technologies, Inc.", | ||
"lint": "tslint --project .", | ||
"test": "npm run build && nyc mocha --config .mocharc.json src/*.spec.js" | ||
"test": "npm run build && echo \"Tests are not implemented.\" && exit 0" | ||
}, | ||
@@ -51,3 +51,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "8a3f777519718ffb87cbde712f75b8d594255f84" | ||
"gitHead": "ab2589733fbc84b62044e0905ffdd29b3c14c87e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10928
181
1