A logging class that prepends a timestamp to each message.
Methods
Attributes
[RW] | time_format | Format of the timestamp which is applied to each logged line. The default
is |
Class Public methods
new(log_file=nil, level=nil)
Link
Same as BasicLog#initialize
You can set the timestamp format through time_format
Instance Public methods
log(level, data)
Link
Same as WEBrick::BasicLog#log