Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface ILogger
import { type ILogger } from "https://deno.land/x/sptaki@1.2.0/models/spt/utils/mod.ts";

Methods

writeToLogFile(data: string | Daum): void
log(
data: string | Record<string, unknown> | Error,
color: string,
backgroundColor?: string,
): void
logWithColor(
data: string | Record<string, unknown>,
textColor: LogTextColor,
backgroundColor?: LogBackgroundColor,
): void
error(data: string): void
warning(data: string): void
success(data: string): void
info(data: string): void
debug(data: string | Record<string, unknown>, onlyShowInConsole?: boolean): void