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.

Methods

call   format_datetime   new  

Public Class methods

Creates an instance, using the specified subsecond precision to format fractional seconds. If nil, the calculated subsecond precision of the Time class is used.

Public Instance methods

Returns a String containing a formatted log entry consisting of the given date-time stamp, severity and log message.

Returns a String containing a date-time stamp for the given time in month/day/year hour:minute:second.microsecond format with the microsecond part having the precision specified when the instance was created.

[Validate]