Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_slack_data_mapper/dependencies/logger.ts>Logger

A handy way to manage data in Slack's next-generation platform datastores
Go to Latest
class Logger
Re-export
import { Logger } from "https://deno.land/x/deno_slack_data_mapper@1.0.4/dependencies/logger.ts";

Constructors

new
Logger(
loggerName: string,
levelName: LevelName,
options?: LoggerOptions,
)

Properties

handlers: BaseHandler[]
level: LogLevels
levelName: LevelName
readonly
loggerName: string

Methods

asString(data: unknown): string
critical<T>(msg: () => T, ...args: unknown[]): T | undefined
critical<T>(msg: T extends GenericFunction ? never : T, ...args: unknown[]): T
debug<T>(msg: () => T, ...args: unknown[]): T | undefined
debug<T>(msg: T extends GenericFunction ? never : T, ...args: unknown[]): T
error<T>(msg: () => T, ...args: unknown[]): T | undefined
error<T>(msg: T extends GenericFunction ? never : T, ...args: unknown[]): T
info<T>(msg: () => T, ...args: unknown[]): T | undefined
info<T>(msg: T extends GenericFunction ? never : T, ...args: unknown[]): T
warning<T>(msg: () => T, ...args: unknown[]): T | undefined
warning<T>(msg: T extends GenericFunction ? never : T, ...args: unknown[]): T