Class | Eymiha::EasyLogFormatter |
In: |
lib/eymiha/util/easylog.rb
|
Parent: | Logger::Formatter |
EasyLogFormatter instances are used to format logging messages generated by the EasyLogger class. They consist of a date-time stamp, the severity and a log message.
Creates an instance, using the specified subsecond precision to format fractional seconds. If nil, the calculated subsecond precision of the Time class is used.
Returns a String containing a formatted log entry consisting of the given date-time stamp, severity and log message.