method

new

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Logger
new(program_name = 'ruby', facility = nil) public

Fills in variables for Logger compatibility. If this is the first instance of Syslog::Logger, program_name may be set to change the logged program name. The facility may be set to specify the facility level which will be used.

Due to the way syslog works, only one program name may be chosen.

Show source
Register or log in to add new notes.