1 shared ILogger logger = new StrictLogger("my_awesome_log.log"); 2 logger.minOutputLevel = LoggingLevel.Warning; // info msgs won't be printed in console 3 logger.logInfo("Info message!"); 4 logger.logError("Error message!"); 5 logger.logDebug("Debug message!"); 6 7 // received USR1 signal from logrotate 8 logger.reload;
Standard implementation of IStyledLogger interface.