diff options
author | Christopher Dieringer <cdaringe@users.noreply.github.com> | 2020-04-25 02:13:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 11:13:26 +0200 |
commit | b28e60ecaf5d48c36cb435361834f4884d9451c2 (patch) | |
tree | bc4fd6aa37ba3cd931ff29d259a05f8126202f34 /std/log/mod.ts | |
parent | f8d83361cd11d3aa42333171ecb6b129fdcbefeb (diff) |
refactor(std/log): support enum log level (#4859)
Diffstat (limited to 'std/log/mod.ts')
-rw-r--r-- | std/log/mod.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/std/log/mod.ts b/std/log/mod.ts index 2f068f8ba..4032937a2 100644 --- a/std/log/mod.ts +++ b/std/log/mod.ts @@ -8,9 +8,12 @@ import { RotatingFileHandler, } from "./handlers.ts"; import { assert } from "../testing/asserts.ts"; +import { LevelName } from "./levels.ts"; + +export { LogLevels } from "./levels.ts"; export class LoggerConfig { - level?: string; + level?: LevelName; handlers?: string[]; } |