class ConsoleLogger
implements Logger
Re-export
import { ConsoleLogger } from "https://deno.land/x/slack_oauth@3.0.2/src/logger.ts";
Default logger which logs to stdout and stderr
Properties
private
level: LogLevelSetting for level
Methods
debug(...msg: any[]): void
Log a debug message
error(...msg: any[]): void
Log an error message
info(...msg: any[]): void
Log an info message
Sets the instance's log level so that only messages which are equal or more severe are output to the console.
setName(name: string): void
Set the instance's name, which will appear on each log line before the message.
warn(...msg: any[]): void
Log a warning message
Static Methods
private
isMoreOrEqualSevere(a: LogLevel, b: LogLevel): booleanHelper to compare two log levels and determine if a is equal or more severe than b