summaryrefslogtreecommitdiff
path: root/std/log/mod.ts
diff options
context:
space:
mode:
authorPaul Thompson <paul.thompson773@gmail.com>2020-07-06 13:57:31 +1000
committerGitHub <noreply@github.com>2020-07-05 23:57:31 -0400
commitc3c13351a9f26f2209b51b8ded5e8f2a1ad86e94 (patch)
tree9e7439974e4383ae0f0b1868a1be53ef497fcf6d /std/log/mod.ts
parentd1289db1c34b983126ce2e8e4758091e926b4630 (diff)
std/log - Expose Logger type and improve public interface for get & set log levels (#6617)
Diffstat (limited to 'std/log/mod.ts')
-rw-r--r--std/log/mod.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/std/log/mod.ts b/std/log/mod.ts
index a1a863d4a..ed94725c4 100644
--- a/std/log/mod.ts
+++ b/std/log/mod.ts
@@ -10,7 +10,8 @@ import {
import { assert } from "../_util/assert.ts";
import { LevelName } from "./levels.ts";
-export { LogLevels } from "./levels.ts";
+export { LogLevels, LevelName } from "./levels.ts";
+export { Logger } from "./logger.ts";
export class LoggerConfig {
level?: LevelName;