PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Logger
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 3 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " Logger.new(name, shift_age = 7, shift_size = 1048576)\n Logger.new(name, shift_age = 'weekly')\n" - !ruby/struct:SM::Flow::H level: 3 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+logdev+:" body: The log device. This is a filename (String) or IO object (typically <tt>STDOUT</tt>, <tt>STDERR</tt>, or an open file). - !ruby/struct:SM::Flow::LI label: "+shift_age+:" body: Number of old log files to keep, <b>or</b> frequency of rotation (<tt>daily</tt>, <tt>weekly</tt> or <tt>monthly</tt>). - !ruby/struct:SM::Flow::LI label: "+shift_size+:" body: Maximum logfile size (only applies when <tt>shift_age</tt> is a number). type: :NOTE - !ruby/struct:SM::Flow::H level: 3 text: Description - !ruby/struct:SM::Flow::P body: Create an instance. full_name: Logger::new is_singleton: true name: new params: (logdev, shift_age = 0, shift_size = 1048576) visibility: public
[-] cdesc-Logger.yaml
[edit]
[+]
Error
[-] close-i.yaml
[edit]
[-] datetime_format-i.yaml
[edit]
[-] format_severity-i.yaml
[edit]
[-] warn-i.yaml
[edit]
[-] error-i.yaml
[edit]
[+]
ShiftingError
[-] %3c%3c-i.yaml
[edit]
[-] info%3f-i.yaml
[edit]
[-] fatal-i.yaml
[edit]
[-] warn%3f-i.yaml
[edit]
[-] log-i.yaml
[edit]
[+]
Severity
[-] add-i.yaml
[edit]
[+]
Formatter
[-] datetime_format%3d-i.yaml
[edit]
[+]
LogDevice
[-] debug%3f-i.yaml
[edit]
[-] debug-i.yaml
[edit]
[+]
Application
[+]
..
[-] info-i.yaml
[edit]
[-] format_message-i.yaml
[edit]
[-] unknown-i.yaml
[edit]
[-] new-c.yaml
[edit]
[-] fatal%3f-i.yaml
[edit]
[-] error%3f-i.yaml
[edit]