Class: Logplexer::Configuration
- Inherits:
-
Object
- Object
- Logplexer::Configuration
- Defined in:
- lib/logplexer/configuration.rb
Instance Attribute Summary collapse
-
#honeybadger ⇒ Object
Returns the value of attribute honeybadger.
-
#logfile ⇒ Object
Returns the value of attribute logfile.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#min_log_level ⇒ Object
Returns the value of attribute min_log_level.
-
#quiet ⇒ Object
Returns the value of attribute quiet.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 14 |
# File 'lib/logplexer/configuration.rb', line 7 def initialize @logfile = STDOUT @logger = Logger.new(STDOUT) @verbose = false @quiet = false @honeybadger = false @min_log_level = :error end |
Instance Attribute Details
#honeybadger ⇒ Object
Returns the value of attribute honeybadger.
5 6 7 |
# File 'lib/logplexer/configuration.rb', line 5 def honeybadger @honeybadger end |
#logfile ⇒ Object
Returns the value of attribute logfile.
6 7 8 |
# File 'lib/logplexer/configuration.rb', line 6 def logfile @logfile end |
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/logplexer/configuration.rb', line 5 def logger @logger end |
#min_log_level ⇒ Object
Returns the value of attribute min_log_level.
5 6 7 |
# File 'lib/logplexer/configuration.rb', line 5 def min_log_level @min_log_level end |
#quiet ⇒ Object
Returns the value of attribute quiet.
5 6 7 |
# File 'lib/logplexer/configuration.rb', line 5 def quiet @quiet end |
#verbose ⇒ Object
Returns the value of attribute verbose.
5 6 7 |
# File 'lib/logplexer/configuration.rb', line 5 def verbose @verbose end |