summaryrefslogtreecommitdiff
path: root/std/log/mod.ts
diff options
context:
space:
mode:
authorChris Knight <cknight1234@gmail.com>2020-04-09 12:45:24 +0100
committerGitHub <noreply@github.com>2020-04-09 13:45:24 +0200
commit475a47cfb7b83e05872ce084bc4b13d60697711b (patch)
tree3b1a1647f0c3e79bc665a16f7854b73bfe19efd5 /std/log/mod.ts
parent198a045dbee7b0350055b7f88f1e0670da87fb3b (diff)
feat(std/log): improvements and new log handler (#4674)
Diffstat (limited to 'std/log/mod.ts')
-rw-r--r--std/log/mod.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/log/mod.ts b/std/log/mod.ts
index 333e90fb9..2f068f8ba 100644
--- a/std/log/mod.ts
+++ b/std/log/mod.ts
@@ -5,6 +5,7 @@ import {
ConsoleHandler,
WriterHandler,
FileHandler,
+ RotatingFileHandler,
} from "./handlers.ts";
import { assert } from "../testing/asserts.ts";
@@ -47,6 +48,7 @@ export const handlers = {
ConsoleHandler,
WriterHandler,
FileHandler,
+ RotatingFileHandler,
};
export function getLogger(name?: string): Logger {