public Method

Logger.datetime_format

Get the logging datetime format. Returns nil if the formatter does not support datetime formatting.

Source Code

# File active_support/clean_logger.rb, line 45
def datetime_format
  formatter.datetime_format if formatter.respond_to?(:datetime_format)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.