public Method

Logger.datetime_format=(datetime_format)

Logging date-time format (string passed to strftime). Ignored if the formatter does not respond to datetime_format=.

Source Code

# File active_support/clean_logger.rb, line 38
def datetime_format=(datetime_format)
  formatter.datetime_format = 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.