Logger.new(name, shift_age = 7, shift_size = 1048576)
Logger.new(name, shift_age = 'weekly')
Logger.new(name, shift_age = 'weekly')
Class Public methods
Args
- logdev
-
The log device. This is a filename (String) or IO object (typically
STDOUT
,STDERR
, or an open file). -
shift_age
-
Number of old log files to keep, or frequency of rotation (
daily
,weekly
ormonthly
). -
shift_size
-
Maximum logfile size (only applies when
shift_age
is a number).
Description
Create an instance.
Please login to continue.