summaryrefslogtreecommitdiff
path: root/log
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-03-08 09:25:16 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-03-07 19:25:16 -0500
commitf90f62fa52eccd020026b6899de1b3c7ae0288b6 (patch)
tree6c8b67a43e353b01671179182a5b4c25f95ef416 /log
parentfd74b38d361db4a251621d486b69473a4cc13f24 (diff)
Use Deno global var instead of built-in "deno" module (denoland/deno_std#247)
Original: https://github.com/denoland/deno_std/commit/395392912d69fe320d74c1f95a27be8e4adc0fa6
Diffstat (limited to 'log')
-rw-r--r--log/handlers.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/log/handlers.ts b/log/handlers.ts
index c1f664cc0..666a8aa48 100644
--- a/log/handlers.ts
+++ b/log/handlers.ts
@@ -1,6 +1,7 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
const { open } = Deno;
-import { File, Writer } from "deno";
+type File = Deno.File;
+type Writer = Deno.Writer;
import { getLevelByName, LogLevel } from "./levels.ts";
import { LogRecord } from "./logger.ts";
import { red, yellow, blue, bold } from "../colors/mod.ts";