UNPKG

@koreanpanda/inscriber

Version:

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

57 lines (56 loc) 1.52 kB
/**======================================================================== * ? ABOUT * @author : Cody Spratford * @email : koreapanda345@gmail.com * @repo : https://github.com/koreanpanda345/Inscriber * @createdOn : 11/14/2020 * @description : This is the Global file. This holds all Global Types. * @since : 11/21/2020 *========================================================================**/ export declare type Config = { "overwrite-config": boolean; "write-logs": boolean; "one-file": boolean; "log-paths": { error: string; info: string; debug: string; warn: string; }; "log-patterns": { error: string; info: string; debug: string; warn: string; }; "log-colors": { error: { text: string; background: string; }; info: { text: string; background: string; }; debug: { text: string; background: string; }; warn: { text: string; background: string; }; }; "custom-logs": CustomLogConfig[]; "time-pattern": string; }; export declare type CustomLogConfig = { name: string; aliases: string[]; pattern: string; color: { text: string; background: string; }; path: string; };