enum LogCR::Format
Overview
The format to output the logs as, Simple is readable and nicely formatted, JSON is for parsing by a log collector
Defined in:
logcr.crEnum Members
-
Simple =
0
-
Json =
1
Instance Method Summary
- #json?
- #output(logger : LogCR::Logger, entry : LogCR::Entry, level : LogCR::LogLevel, line : Int32, file : String) : String
- #simple?
Instance Method Detail
def output(logger : LogCR::Logger, entry : LogCR::Entry, level : LogCR::LogLevel, line : Int32, file : String) : String
#