Class: RailsTracepointStack::Configuration
- Inherits:
-
Object
- Object
- RailsTracepointStack::Configuration
- Defined in:
- lib/rails_tracepoint_stack/configuration.rb
Instance Attribute Summary collapse
-
#file_path_to_filter_patterns ⇒ Object
Returns the value of attribute file_path_to_filter_patterns.
-
#ignore_patterns ⇒ Object
Returns the value of attribute ignore_patterns.
-
#log_external_sources ⇒ Object
Returns the value of attribute log_external_sources.
-
#log_format ⇒ Object
Returns the value of attribute log_format.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 14 15 |
# File 'lib/rails_tracepoint_stack/configuration.rb', line 9 def initialize @file_path_to_filter_patterns = [] @ignore_patterns = [] @log_format = :text @log_external_sources = false @logger = nil end |
Instance Attribute Details
#file_path_to_filter_patterns ⇒ Object
Returns the value of attribute file_path_to_filter_patterns.
3 4 5 |
# File 'lib/rails_tracepoint_stack/configuration.rb', line 3 def file_path_to_filter_patterns @file_path_to_filter_patterns end |
#ignore_patterns ⇒ Object
Returns the value of attribute ignore_patterns.
3 4 5 |
# File 'lib/rails_tracepoint_stack/configuration.rb', line 3 def ignore_patterns @ignore_patterns end |
#log_external_sources ⇒ Object
Returns the value of attribute log_external_sources.
3 4 5 |
# File 'lib/rails_tracepoint_stack/configuration.rb', line 3 def log_external_sources @log_external_sources end |
#log_format ⇒ Object
Returns the value of attribute log_format.
3 4 5 |
# File 'lib/rails_tracepoint_stack/configuration.rb', line 3 def log_format @log_format end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/rails_tracepoint_stack/configuration.rb', line 3 def logger @logger end |