Class: Backup::Logger::Config::DSL
- Inherits:
-
Struct
- Object
- Struct
- Backup::Logger::Config::DSL
- Defined in:
- lib/backup/logger.rb
Instance Attribute Summary collapse
-
#console ⇒ Object
Returns the value of attribute console.
-
#ignores ⇒ Object
Returns the value of attribute ignores.
-
#logfile ⇒ Object
Returns the value of attribute logfile.
-
#syslog ⇒ Object
Returns the value of attribute syslog.
Instance Method Summary collapse
Instance Attribute Details
#console ⇒ Object
Returns the value of attribute console
18 19 20 |
# File 'lib/backup/logger.rb', line 18 def console @console end |
#ignores ⇒ Object
Returns the value of attribute ignores
18 19 20 |
# File 'lib/backup/logger.rb', line 18 def ignores @ignores end |
#logfile ⇒ Object
Returns the value of attribute logfile
18 19 20 |
# File 'lib/backup/logger.rb', line 18 def logfile @logfile end |
#syslog ⇒ Object
Returns the value of attribute syslog
18 19 20 |
# File 'lib/backup/logger.rb', line 18 def syslog @syslog end |
Instance Method Details
#ignore_warning(str_or_regexp) ⇒ Object
19 20 21 |
# File 'lib/backup/logger.rb', line 19 def ignore_warning(str_or_regexp) ignores << str_or_regexp end |