summaryrefslogtreecommitdiff
path: root/std/log/mod.ts
diff options
context:
space:
mode:
authorChristopher Dieringer <cdaringe@users.noreply.github.com>2020-04-25 02:13:26 -0700
committerGitHub <noreply@github.com>2020-04-25 11:13:26 +0200
commitb28e60ecaf5d48c36cb435361834f4884d9451c2 (patch)
treebc4fd6aa37ba3cd931ff29d259a05f8126202f34 /std/log/mod.ts
parentf8d83361cd11d3aa42333171ecb6b129fdcbefeb (diff)
refactor(std/log): support enum log level (#4859)
Diffstat (limited to 'std/log/mod.ts')
-rw-r--r--std/log/mod.ts5
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[];
}