Class: MintLogger::MultiLogger

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Constructor Details

#initializeMultiLogger

Returns a new instance of MultiLogger.

Instance Attribute Details

#targetsObject

Returns the value of attribute targets.

Instance Method Details

#ancestor_with_log_level(object_id) ⇒ Object

#change_log_level_if_required(calling_method) ⇒ Object

#current_log_levelObject

#disable_debug_file_logObject

#enable_debug_file_log(**args) ⇒ Object

#log_prefixObject

#log_prefix=(log_prefix) ⇒ Object

#logging_at?(log_level) ⇒ Boolean

Returns:

  • (Boolean)

#logging_to_file?Boolean

Returns:

  • (Boolean)

#set_log_level(log_level, parent_path: :default, level_override_from_config: false) ⇒ Object

#will_print?(log_level, calling_method) ⇒ Boolean

Returns:

  • (Boolean)