summaryrefslogtreecommitdiff
path: root/std/log
diff options
context:
space:
mode:
Diffstat (limited to 'std/log')
-rw-r--r--std/log/handlers.ts4
-rw-r--r--std/log/handlers_test.ts8
-rw-r--r--std/log/logger.ts2
-rw-r--r--std/log/logger_test.ts6
-rw-r--r--std/log/mod.ts2
-rw-r--r--std/log/mod_test.ts12
-rw-r--r--std/log/test.ts4
7 files changed, 19 insertions, 19 deletions
diff --git a/std/log/handlers.ts b/std/log/handlers.ts
index 21c25a816..c538de380 100644
--- a/std/log/handlers.ts
+++ b/std/log/handlers.ts
@@ -1,8 +1,8 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { getLevelByName, LevelName, LogLevels } from "./levels.ts";
import type { LogRecord } from "./logger.ts";
-import { red, yellow, blue, bold } from "../fmt/colors.ts";
-import { existsSync, exists } from "../fs/exists.ts";
+import { blue, bold, red, yellow } from "../fmt/colors.ts";
+import { exists, existsSync } from "../fs/exists.ts";
import { BufWriterSync } from "../io/bufio.ts";
const DEFAULT_FORMATTER = "{levelName} {msg}";
diff --git a/std/log/handlers_test.ts b/std/log/handlers_test.ts
index 8921dd542..52c1edb64 100644
--- a/std/log/handlers_test.ts
+++ b/std/log/handlers_test.ts
@@ -2,15 +2,15 @@
import {
assert,
assertEquals,
- assertThrowsAsync,
assertNotEquals,
+ assertThrowsAsync,
} from "../testing/asserts.ts";
import {
- LogLevels,
- LogLevelNames,
- getLevelName,
getLevelByName,
+ getLevelName,
LevelName,
+ LogLevelNames,
+ LogLevels,
} from "./levels.ts";
import { BaseHandler, FileHandler, RotatingFileHandler } from "./handlers.ts";
import { LogRecord } from "./logger.ts";
diff --git a/std/log/logger.ts b/std/log/logger.ts
index c00ab78ec..e3ffc224a 100644
--- a/std/log/logger.ts
+++ b/std/log/logger.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-import { LogLevels, getLevelByName, getLevelName } from "./levels.ts";
+import { getLevelByName, getLevelName, LogLevels } from "./levels.ts";
import type { LevelName } from "./levels.ts";
import type { BaseHandler } from "./handlers.ts";
diff --git a/std/log/logger_test.ts b/std/log/logger_test.ts
index 08080356b..4ab50809f 100644
--- a/std/log/logger_test.ts
+++ b/std/log/logger_test.ts
@@ -1,7 +1,7 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-import { assertEquals, assert } from "../testing/asserts.ts";
-import { LogRecord, Logger } from "./logger.ts";
-import { LogLevels, LevelName } from "./levels.ts";
+import { assert, assertEquals } from "../testing/asserts.ts";
+import { Logger, LogRecord } from "./logger.ts";
+import { LevelName, LogLevels } from "./levels.ts";
import { BaseHandler } from "./handlers.ts";
class TestHandler extends BaseHandler {
diff --git a/std/log/mod.ts b/std/log/mod.ts
index 512de534b..167d86a5c 100644
--- a/std/log/mod.ts
+++ b/std/log/mod.ts
@@ -4,9 +4,9 @@ import type { GenericFunction } from "./logger.ts";
import {
BaseHandler,
ConsoleHandler,
- WriterHandler,
FileHandler,
RotatingFileHandler,
+ WriterHandler,
} from "./handlers.ts";
import { assert } from "../_util/assert.ts";
import type { LevelName } from "./levels.ts";
diff --git a/std/log/mod_test.ts b/std/log/mod_test.ts
index 30c6b0914..f2467ef68 100644
--- a/std/log/mod_test.ts
+++ b/std/log/mod_test.ts
@@ -1,16 +1,16 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals } from "../testing/asserts.ts";
import {
- getLogger,
+ critical,
debug,
- info,
- warning,
error,
- critical,
- setup,
+ getLogger,
+ info,
+ LevelName,
Logger,
LogLevels,
- LevelName,
+ setup,
+ warning,
} from "./mod.ts";
import { BaseHandler } from "./handlers.ts";
diff --git a/std/log/test.ts b/std/log/test.ts
index 0c0ab0703..23eac7ff4 100644
--- a/std/log/test.ts
+++ b/std/log/test.ts
@@ -2,10 +2,10 @@
import { assertEquals, assertThrows } from "../testing/asserts.ts";
import * as log from "./mod.ts";
import {
- LogLevelNames,
- LevelName,
getLevelByName,
getLevelName,
+ LevelName,
+ LogLevelNames,
} from "./levels.ts";
class TestHandler extends log.handlers.BaseHandler {