method

format_datetime

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: Logger::Formatter
format_datetime(time) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/clean_logger.rb, line 72
        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
Register or log in to add new notes.