Initial 1.0.0 commit (library extracted from existing project).

This commit is contained in:
2020-08-07 08:54:06 -05:00
commit 1a96000e81
25 changed files with 768 additions and 0 deletions

21
src/log-message.ts Normal file
View File

@ -0,0 +1,21 @@
export enum LogLevel {
ALL = 0,
TRACE,
DEBUG,
LOG,
INFO,
WARN,
ERROR,
FATAL
}
export interface LogMessage {
scope: string;
level: LogLevel;
message: string | object;
stacktrace: string;
error?: Error;
timestamp: Date;
}
export default LogMessage;