UNPKG

@koreanpanda/inscriber

Version:

A Logger that can write logs, and print them, with full customization.

20 lines (19 loc) 1.01 kB
/**======================================================================== * ? ABOUT * @author : Cody Spratford * @email : koreanpanda345@gmail.com * @repo : https://github.com/koreanpanda345/Inscriber * @createdOn : 11/15/2020 * @description : This is the Warn Class. This handles all of the warn * type's methods. * @since : 11/15/2020 *========================================================================**/ import { Config } from ".."; import { ILog } from "../interfaces/exports"; export declare class WarnClass 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; }