@timberio/types
Advanced tools
Comparing version 0.15.0 to 0.16.0
@@ -19,2 +19,8 @@ /** | ||
} | ||
export declare enum LogLevel { | ||
Debug = "debug", | ||
Info = "info", | ||
Warn = "warn", | ||
Error = "error" | ||
} | ||
/** | ||
@@ -24,4 +30,6 @@ * Interface representing a Timber log | ||
export interface ITimberLog { | ||
dt: Date; | ||
level: LogLevel; | ||
message: string; | ||
date?: Date; | ||
context?: object; | ||
} | ||
@@ -28,0 +36,0 @@ /** |
@@ -6,2 +6,9 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var LogLevel; | ||
(function (LogLevel) { | ||
LogLevel["Debug"] = "debug"; | ||
LogLevel["Info"] = "info"; | ||
LogLevel["Warn"] = "warn"; | ||
LogLevel["Error"] = "error"; | ||
})(LogLevel = exports.LogLevel || (exports.LogLevel = {})); | ||
//# sourceMappingURL=types.js.map |
@@ -19,2 +19,8 @@ /** | ||
} | ||
export declare enum LogLevel { | ||
Debug = "debug", | ||
Info = "info", | ||
Warn = "warn", | ||
Error = "error" | ||
} | ||
/** | ||
@@ -24,4 +30,6 @@ * Interface representing a Timber log | ||
export interface ITimberLog { | ||
dt: Date; | ||
level: LogLevel; | ||
message: string; | ||
date?: Date; | ||
context?: object; | ||
} | ||
@@ -28,0 +36,0 @@ /** |
/** | ||
* Timber library options | ||
*/ | ||
export var LogLevel; | ||
(function (LogLevel) { | ||
LogLevel["Debug"] = "debug"; | ||
LogLevel["Info"] = "info"; | ||
LogLevel["Warn"] = "warn"; | ||
LogLevel["Error"] = "error"; | ||
})(LogLevel || (LogLevel = {})); | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@timberio/types", | ||
"version": "0.15.0", | ||
"version": "0.16.0", | ||
"description": "Timber.io - Typescript types", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "b7cd2447a5d4829e632b656d156a1e98716dd5a0", | ||
"gitHead": "13fe691283afc3d96d5bc1ff7b13173f55389621", | ||
"dependencies": { | ||
@@ -43,0 +43,0 @@ "js": "^0.1.0" |
@@ -23,2 +23,9 @@ /** | ||
export enum LogLevel { | ||
Debug = "debug", | ||
Info = "info", | ||
Warn = "warn", | ||
Error = "error" | ||
} | ||
/** | ||
@@ -28,4 +35,6 @@ * Interface representing a Timber log | ||
export interface ITimberLog { | ||
dt: Date; | ||
level: LogLevel; | ||
message: string; | ||
date?: Date; | ||
context?: object; | ||
} | ||
@@ -32,0 +41,0 @@ |
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
6168
145