@openfn/logger
Advanced tools
+6
-0
| # @openfn/logger | ||
| ## 1.1.1 | ||
| ### Patch Changes | ||
| - c70369b: Add secret "none-really" log level that even suppresses error logs | ||
| ## 1.1.0 | ||
@@ -4,0 +10,0 @@ |
+1
-1
| type SanitizePolicies = 'remove' | 'obfuscate' | 'summarize' | 'none'; | ||
| type LogLevel = 'debug' | 'info' | 'default' | 'none'; | ||
| type LogLevel = 'debug' | 'info' | 'default' | 'none' | 'none-really'; | ||
| type LogEmitter = typeof console & { | ||
@@ -5,0 +5,0 @@ success: typeof console.log; |
+3
-1
@@ -194,2 +194,3 @@ // src/logger.ts | ||
| var NONE = "none"; | ||
| var REALLY_NONE = "none-really"; | ||
| var SUCCESS = "success"; | ||
@@ -224,4 +225,5 @@ var ALWAYS = "always"; | ||
| [NONE]: 9, | ||
| [ERROR]: 100 | ||
| [ERROR]: 100, | ||
| // errors ALWAYS log | ||
| [REALLY_NONE]: 1e3 | ||
| }; | ||
@@ -228,0 +230,0 @@ var styleLevel = (level) => { |
+1
-1
| { | ||
| "name": "@openfn/logger", | ||
| "version": "1.1.0", | ||
| "version": "1.1.1", | ||
| "description": "Cross-package logging utility", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
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
20545
0.88%534
0.38%0
-100%