Logger class, used to print timestamped and coloured logging messages.
Logging levels; copied straight from std.logger, to save us an import.
auto logger = new KamelosoLogger( colours: true, brightTerminal: false, headless: false, flush: false); logger.log("This is LogLevel.all"); logger.info("LogLevel.info"); logger.warn(".warn"); logger.error(".error"); logger.trace(".trace"); //logger.fatal("This will crash the program.");
Contains the custom KamelosoLogger class, used to print timestamped and (optionally) coloured logging messages.