Skip to content

Commit

Permalink
feat(api): add LogLevelName type
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Apr 6, 2020
1 parent c8d3948 commit 25b6c67
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/api/src/api/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ export enum LogLevel {
INFO,
WARN,
SEVERE,
NONE
NONE,
}

export type LogLevelName =
| "FINE"
| "DEBUG"
| "INFO"
| "WARN"
| "SEVERE"
| "NONE";

export interface ILogger {
/**
* This logger's configured minimum log level
Expand Down

0 comments on commit 25b6c67

Please sign in to comment.