mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/logger.rb (class Logger): Document Logger#datetime_format.
Patch by Sergio Gil Pérez de la Manga. [Ruby 1.9 - Bug #4678] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e2b3183fc2
commit
f154226900
2 changed files with 22 additions and 0 deletions
21
ChangeLog
21
ChangeLog
|
@ -1,3 +1,24 @@
|
|||
Fri May 13 05:44:19 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/logger.rb (class Logger): Document Logger#datetime_format.
|
||||
Patch by Sergio Gil Pérez de la Manga. [Ruby 1.9 - Bug #4678]
|
||||
|
||||
Fri May 13 05:39:11 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* re.c (Init_Regexp): Document option constants. Patch by Vincent
|
||||
Batts. [Ruby 1.9 - Bug #4677]
|
||||
* lib/uri/common.rb (module URI): Documentation for URI. Patch by
|
||||
Vincent Batts. [Ruby 1.9- Bug #4677]
|
||||
* lib/uri/ftp.rb (module URI): ditto
|
||||
* lib/uri/generic.rb (module URI): ditto
|
||||
* lib/uri/http.rb (module URI): ditto
|
||||
* lib/uri/https.rb (module URI): ditto
|
||||
* lib/uri/ldap.rb (module URI): ditto
|
||||
* lib/uri/ldaps.rb (module URI): ditto
|
||||
* lib/uri/mailto.rb (module URI): ditto
|
||||
* process.c (Init_process): Document Process constants. Patch by
|
||||
Vincent Batts. [Ruby 1.9- Bug #4677]
|
||||
|
||||
Fri May 13 05:16:38 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rss/atom.rb (module RSS): Document URIs. Patch by Mark Turner.
|
||||
|
|
|
@ -224,6 +224,7 @@ class Logger
|
|||
@default_formatter.datetime_format = datetime_format
|
||||
end
|
||||
|
||||
# Returns the date format (string passed to +strftime+) being used (it's set using datetime_format=)
|
||||
def datetime_format
|
||||
@default_formatter.datetime_format
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue