artibot
Version:
Modern, fast and modular open-source Discord bot
14 lines (13 loc) • 454 B
TypeScript
/**
* Log message to console, with proper coloring and prefix.
*
* @author Artivain
* @since v1.5.3
* @param name Name of the module sending the log.
* @param msg Message to send.
* @param type Type of message.
* @param isCore Is this message sent from the core? Probably not.
*/
export declare function log(name: string, msg: string, type?: "log" | "warn" | "err" | "debug" | "info", isCore?: boolean): void;
/** @ignore */
export default log;