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
15 16 17 |
# File 'lib/backup/logger.rb', line 15 def console @console end |
#ignores ⇒ Object
Returns the value of attribute ignores
15 16 17 |
# File 'lib/backup/logger.rb', line 15 def ignores @ignores end |
#logfile ⇒ Object
Returns the value of attribute logfile
15 16 17 |
# File 'lib/backup/logger.rb', line 15 def logfile @logfile end |
#syslog ⇒ Object
Returns the value of attribute syslog
15 16 17 |
# File 'lib/backup/logger.rb', line 15 def syslog @syslog end |
Instance Method Details
#ignore_warning(str_or_regexp) ⇒ Object
16 17 18 |
# File 'lib/backup/logger.rb', line 16 def ignore_warning(str_or_regexp) ignores << str_or_regexp end |