Class: ObjectContextLogger::Configuration
- Inherits:
-
Object
- Object
- ObjectContextLogger::Configuration
- Defined in:
- lib/object_context_logger.rb
Instance Attribute Summary collapse
-
#default_log_method ⇒ Object
Returns the value of attribute default_log_method.
-
#default_object_identifier_method ⇒ Object
Returns the value of attribute default_object_identifier_method.
-
#log_to_stdout ⇒ Object
Returns the value of attribute log_to_stdout.
-
#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.
51 52 53 54 |
# File 'lib/object_context_logger.rb', line 51 def initialize @default_object_identifier_method = :to_gid @default_log_method = :info end |
Instance Attribute Details
#default_log_method ⇒ Object
Returns the value of attribute default_log_method.
49 50 51 |
# File 'lib/object_context_logger.rb', line 49 def default_log_method @default_log_method end |
#default_object_identifier_method ⇒ Object
Returns the value of attribute default_object_identifier_method.
49 50 51 |
# File 'lib/object_context_logger.rb', line 49 def default_object_identifier_method @default_object_identifier_method end |
#log_to_stdout ⇒ Object
Returns the value of attribute log_to_stdout.
49 50 51 |
# File 'lib/object_context_logger.rb', line 49 def log_to_stdout @log_to_stdout end |
#logger ⇒ Object
Returns the value of attribute logger.
49 50 51 |
# File 'lib/object_context_logger.rb', line 49 def logger @logger end |