@slack/logger
Advanced tools
Comparing version 1.1.1 to 2.0.0
@@ -46,2 +46,6 @@ /** | ||
/** | ||
* 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 | ||
@@ -67,2 +71,3 @@ * to the same destination. | ||
constructor(); | ||
getLevel(): LogLevel; | ||
/** | ||
@@ -69,0 +74,0 @@ * Sets the instance's log level so that only messages which are equal or more severe are output to the console. |
@@ -21,2 +21,5 @@ "use strict"; | ||
} | ||
getLevel() { | ||
return this.level; | ||
} | ||
/** | ||
@@ -23,0 +26,0 @@ * Sets the instance's log level so that only messages which are equal or more severe are output to the console. |
{ | ||
"name": "@slack/logger", | ||
"version": "1.1.1", | ||
"version": "2.0.0", | ||
"description": "Logging utility used by Node Slack SDK", | ||
@@ -33,3 +33,3 @@ "author": "Slack Technologies, Inc.", | ||
"lint": "tslint --project .", | ||
"test": "npm run build && echo \"Tests are not implemented.\" && exit 0" | ||
"test": "npm run build && nyc mocha --config .mocharc.json src/*.spec.js" | ||
}, | ||
@@ -51,3 +51,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "ab2589733fbc84b62044e0905ffdd29b3c14c87e" | ||
"gitHead": "60a33b5de096255c4c1b714d3ff1c820e1b50e33" | ||
} |
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
11192
189
0