@koreanpanda/inscriber
Version:
A Logger that can write logs, and print them, with full customization.
20 lines (19 loc) • 1 kB
TypeScript
/**========================================================================
* ? ABOUT
* @author : Cody Spratford
* @email : koreanpanda345@gmail.com
* @repo : https://github.com/koreanpanda345/Inscriber
* @createdOn : 11/14/2020
* @description : This is the Debug Class. This handles all debug type's
* methods
* @since : 11/15/2020
*========================================================================**/
import { Config } from "..";
import { ILog } from "../interfaces/exports";
export declare class DebugClass implements ILog {
constructor(config: Config, content: string | object, source: string);
write(content: string, source: string, filepath: string, config: Config): void;
print(content: string, source: string, config: Config): void;
formatColors(config: Config, content: string): string;
formatString(config: Config, source: string, content: string): string;
}