enum

LogCR::Format

Inherits Enum < Comparable < Value < Object

The format to output the logs as, Simple is readable and nicely formatted, JSON is for parsing by a log collector

Constants

Simple = 0
Json = 1

Instance methods

json?

Returns true if this enum value equals Json

Source
output(logger : LogCR::Logger, entry : LogCR::Entry, level : LogCR::LogLevel, line : Int32, file : String) : String
Source
simple?

Returns true if this enum value equals Simple

Source