std/log - Expose Logger type and improve public interface for get & set log levels (#6617)

This commit is contained in:
Paul Thompson 2020-07-06 13:57:31 +10:00 committed by GitHub
parent d1289db1c3
commit c3c13351a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 166 additions and 13 deletions

View file

@ -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;