Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface ILogger
import { type ILogger } from "https://deno.land/x/sptaki@1.2.0/models/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