bot_army v1.0.0 BotArmy.LogFormatters.JSONLogFormatter View Source
Use this logger formatter for nice JSON formatted logs with information useful for syncing timing.
Based on https://github.com/soundtrackyourbrand/exlogger, but uses unix epoch timestamps and shows errors.
Link to this section Summary
Link to this section Functions
Link to this function
format(level, message, timestamp, metadata)
View Source
format(level, message, timestamp, metadata)
View Source
format(
Logger.level(),
Logger.message(),
Logger.Formatter.time(),
Logger.Formatter.keyword()
) :: IO.chardata()
format( Logger.level(), Logger.message(), Logger.Formatter.time(), Logger.Formatter.keyword() ) :: IO.chardata()