logrb
Small logger inspired by Go's Zap
Victor Gama
MIT
rubygems.org/gems/logrb
github.com/heyvito/logrb
Readme
Components
class
Logrb
Constant
VERSION
Constant
COLORS
Constant
BACKGROUNDS
Constant
LEVELS
Instance Attribute
fields
read/write
Instance Attribute
level
read/write
Instance Attribute
format
read/write
Class Method
mutex
public
Instance Method
initialize
output
format
:text
level
:debug
fields
public
Instance Method
with_fields
fields
public
Instance Method
error
msg
error
nil
fields
public
Instance Method
fatal
msg
error
nil
fields
public
Instance Method
dump
log
data
nil
fields
public
Instance Method
color
color
text
private
Instance Method
clean_caller_locations
private
Instance Method
determine_caller
private
Instance Method
normalize_location
trace
include_function_name
false
private
Instance Method
stack_trace
trace
clean_caller_locations
private
Instance Method
compose_line
level
caller_meta
msg
fields
private
Instance Method
text
level
msg
error
fields
caller_meta
private
Instance Method
backtrace
from
private
Instance Method
write_output
text
private
Instance Method
json
level
msg
error
fields
caller_meta
private
Instance Method
wrap
level
msg
error
fields
private