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.cr

Enum Members

Simple = 0
Json = 1

Instance Method Summary

Instance Method Detail

def json? #

[View source]
def output(logger : LogCR::Logger, entry : LogCR::Entry, level : LogCR::LogLevel, line : Int32, file : String) : String #

[View source]
def simple? #

[View source]