@shadow-dev/core
Version:
A modular core framework for Discord bot development, providing commands, buttons, menus, middleware, and more.
12 lines (11 loc) • 425 B
TypeScript
import type { LokiConfig } from "../types/logger.type";
export declare class LokiLogger {
private config;
constructor(config: LokiConfig);
private sendLog;
log(level: 'info' | 'error' | 'warn' | 'debug', message: string): Promise<void>;
info(message: string): Promise<void>;
error(message: string): Promise<void>;
warn(message: string): Promise<void>;
debug(message: string): Promise<void>;
}