Class: MintLogger::MultiLogger
- Inherits:
-
Object
- Object
- MintLogger::MultiLogger
- Extended by:
- Forwardable
- Includes:
- Utils::Common
- Defined in:
- src/mintpress-logger/lib/mintpress-logger/multi_logger.rb
Properties (Read/Write)
Properties (Read Only)
Instance Attribute Summary collapse
-
#targets ⇒ Object
Returns the value of attribute targets.
Instance Method Summary collapse
- #ancestor_with_log_level(object_id) ⇒ Object
- #change_log_level_if_required(calling_method) ⇒ Object
- #current_log_level ⇒ Object
- #disable_debug_file_log ⇒ Object
- #enable_debug_file_log(**args) ⇒ Object
-
#initialize ⇒ MultiLogger
constructor
A new instance of MultiLogger.
- #log_prefix ⇒ Object
- #log_prefix=(log_prefix) ⇒ Object
- #logging_at?(log_level) ⇒ Boolean
- #logging_to_file? ⇒ Boolean
- #set_log_level(log_level, parent_path: :default, level_override_from_config: false) ⇒ Object
- #will_print?(log_level, calling_method) ⇒ Boolean
Methods included from Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Constructor Details
#initialize ⇒ MultiLogger
Returns a new instance of MultiLogger.
Instance Attribute Details
#targets ⇒ Object
Returns the value of attribute targets.