Class: Ansible::Ruby::Modules::Syslogger
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Syslogger
- Defined in:
- lib/ansible/ruby/modules/generated/notification/syslogger.rb
Overview
Uses syslog to add log entries to the host. Can specify facility and priority.
Instance Method Summary collapse
-
#facility ⇒ :kern, ...
Set the log facility.
-
#log_pid ⇒ :yes, ...
Log the pid in brackets.
-
#msg ⇒ String
This is the message to place in syslog.
-
#priority ⇒ :emerg, ...
Set the log priority.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#facility ⇒ :kern, ...
Returns Set the log facility.
21 |
# File 'lib/ansible/ruby/modules/generated/notification/syslogger.rb', line 21 attribute :facility |
#log_pid ⇒ :yes, ...
Returns Log the pid in brackets.
25 |
# File 'lib/ansible/ruby/modules/generated/notification/syslogger.rb', line 25 attribute :log_pid |
#msg ⇒ String
Returns This is the message to place in syslog.
13 |
# File 'lib/ansible/ruby/modules/generated/notification/syslogger.rb', line 13 attribute :msg |
#priority ⇒ :emerg, ...
Returns Set the log priority.
17 |
# File 'lib/ansible/ruby/modules/generated/notification/syslogger.rb', line 17 attribute :priority |