method
format_datetime
format_datetime(time)
private
Hide source
# File lib/logger.rb, line 451 def format_datetime(time) if @datetime_format.nil? time.strftime("%Y-%m-%dT%H:%M:%S.") << "%06d " % time.usec else time.strftime(@datetime_format) end end