exa-logger
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -1,9 +0,2 @@ | ||
type LogLevel = 'INFO' | 'WARN' | 'ERROR'; | ||
declare const ExaLogger: { | ||
log: (level: LogLevel, ...messages: any) => { | ||
info: (...msgs: any) => any; | ||
warn: (...msgs: any) => any; | ||
error: (...msgs: any) => any; | ||
}; | ||
info: (...messages: any) => { | ||
@@ -26,2 +19,2 @@ info: (...msgs: any) => any; | ||
export { ExaLogger }; | ||
export { ExaLogger as default }; |
@@ -33,3 +33,3 @@ "use strict"; | ||
__export(src_exports, { | ||
ExaLogger: () => ExaLogger | ||
default: () => src_default | ||
}); | ||
@@ -70,3 +70,2 @@ module.exports = __toCommonJS(src_exports); | ||
var ExaLogger = { | ||
log, | ||
info, | ||
@@ -76,5 +75,2 @@ warn, | ||
}; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
ExaLogger | ||
}); | ||
var src_default = ExaLogger; |
{ | ||
"name": "exa-logger", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Advanced JavaScript logger for debugging.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -42,7 +42,8 @@ import dayjs from 'dayjs'; | ||
export const ExaLogger = { | ||
log, | ||
const ExaLogger = { | ||
info, | ||
warn, | ||
error, | ||
}; | ||
}; | ||
export default ExaLogger; |
Sorry, the diff of this file is not supported yet
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
19651
289