@koreanpanda/inscriber
Version:
A Logger that can write logs, and print them, with full customization.
23 lines (22 loc) • 918 B
TypeScript
/**========================================================================
* ? ABOUT
* @author : Cody Spratford
* @email : koreapanda345@gmail.com
* @repo : https://github.com/koreanpanda345/Inscriber
* @createdOn : 11/14/2020
* @description : This is the File System. This handles all the Log File's
* Methods
* @since : 11/21/2020
*========================================================================**/
import { Config } from "./global";
export declare class FileSystem {
private _filename;
private _content;
private _config;
private _logType?;
private _type;
constructor(config: Config, filename: string, content: string, type: "ERROR" | "DEBUG" | "INFO" | "WARN" | "LOG", logType?: string);
private checkIfPathExist;
private checkIfFileExist;
write(): void;
}