Earl::Logger::Log
Inherits Struct < Value < Object
Instance methods
Logs message if debug? returns true.
Logs the message returned by the block if debug? returns
true, otherwise the block is never invoked.
Returns true if the current level is DEBUG or lower.
Logs message if error? returns true.
Logs the message returned by the block if error? returns
true, otherwise the block is never invoked.
Returns true if the current level is ERROR or lower.
Logs message if info? returns true.
Logs the message returned by the block if info? returns
true, otherwise the block is never invoked.
Returns true if the current level is INFO or lower.
Returns true if the current level is SILENT.
Logs message if warn? returns true.
Logs the message returned by the block if warn? returns
true, otherwise the block is never invoked.
Returns true if the current level is WARN or lower.