Method: Backup::Logger::Syslog::Options#facility

Defined in:
lib/backup/logger/syslog.rb

#facilityInteger

Specify the facility to be used with Syslog.

See the Ruby Standard Library documentation for Syslog for more info. rdoc.info/stdlib/syslog/Syslog.open

Note that setting this to nil will cause this to default to a setting of Syslog::LOG_USER

Parameters:

  • (Integer)

Returns:

  • (Integer)

    Default: Syslog::LOG_LOCAL0



50
51
52
# File 'lib/backup/logger/syslog.rb', line 50

def facility
  @facility
end