Skip to content

Commit

Permalink
feat(Logger): Added trace logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfede committed May 16, 2017
1 parent be10648 commit 607dd97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export interface Logger {
warn: debug.IDebugger;
error: debug.IDebugger;
debug: debug.IDebugger;
trace: debug.IDebugger;
}

export function createLogger(label: string, context?: string): Logger {
Expand All @@ -24,6 +25,7 @@ export function createLogger(label: string, context?: string): Logger {
info: d(label + ':info'),
warn: d(label + ':warn'),
error: d(label + ':error'),
debug: d(label + ':debug')
debug: d(label + ':debug'),
trace: d(label + ':trace')
}
}

0 comments on commit 607dd97

Please sign in to comment.