- StrictLogger
alias StrictLogger = StyledStrictLogger!(LoggingLevel, LoggingLevel.Debug, "Debug:".color(fg.light_magenta) ~ " %1$s", "[%2$s]: Debug: %1$s", LoggingLevel.Notice, "Notice:".color(fg.light_green) ~ " %1$s", "[%2$s]: Notice: %1$s", LoggingLevel.Warning, "Warning:".color(fg.light_yellow) ~ " %1$s", "[%2$s]: Warning: %1$s", LoggingLevel.Fatal, "Fatal:".color(fg.light_red) ~ " %1$s", "[%2$s]: Fatal: %1$s", LoggingLevel.Muted, "", "")
Standard implementation of IStyledLogger interface.
- StrictLogger
alias StrictLogger = StyledStrictLogger!(LoggingLevel, LoggingLevel.Debug, "Debug:".color(fg.magenta) ~ " %1$s", "[%2$s]: Debug: %1$s", LoggingLevel.Notice, "Notice:".color(fg.green) ~ " %1$s", "[%2$s]: Notice: %1$s", LoggingLevel.Warning, "Warning:".color(fg.light_yellow) ~ " %1$s", "[%2$s]: Warning: %1$s", LoggingLevel.Fatal, "Fatal:".color(fg.light_red) ~ " %1$s", "[%2$s]: Fatal: %1$s", LoggingLevel.Muted, "", "")
Standard implementation of IStyledLogger interface.
- StrictLogger
alias StrictLogger = StyledStrictLogger!(LoggingLevel, LoggingLevel.Debug, "Debug: %1$s", "[%2$s]: Debug: %1$s", LoggingLevel.Notice, "Notice: %1$s", "[%2$s]: Notice: %1$s", LoggingLevel.Warning, "Warning: %1$s", "[%2$s]: Warning: %1$s", LoggingLevel.Fatal, "Fatal: %1$s", "[%2$s]: Fatal: %1$s", LoggingLevel.Muted, "", "")
Standard implementation of IStyledLogger interface.
Default synchronized log realization. The logging process performs instantly (if it can be processed properly). Logger puts message style string and current timestamp before the message. * Tested to be able operate in daemon mode and under heavy concurrent writing. *