Class: Wx::LogInterposer
Overview
A special version of LogChain which uses itself as the new log target.
It forwards log messages to the previously installed one in addition to processing them itself. Unlike LogChain which is usually used directly as is, this class must be derived from to implement Wx::Log::DoLog and/or Wx::Log::DoLogString methods. LogInterposer destroys the previous log target in its destructor. If you don’t want this to happen, use LogInterposerTemp instead.
Category: Logging
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ Wx::LogInterposer
constructor
The default constructor installs this object as the current active log target.
Methods inherited from LogChain
#get_old_log, #is_passing_messages, #pass_messages, #release, #set_log
Methods inherited from Log
add_trace_mask, clear_trace_masks, disable_timestamp, #do_log_record, #do_log_text, #do_log_text_at_level, dont_create_on_demand, enable_logging, #flush, flush_active, for_component, get_active_target, get_log_level, get_repetition_counting, get_timestamp, get_trace_masks, get_verbose, is_allowed_trace_mask, is_enabled, is_level_enabled, #log_record, remove_trace_mask, resume, set_active_target, set_component_level, set_log_level, set_repetition_counting, set_timestamp, set_verbose, suspend
Constructor Details
#initialize ⇒ Wx::LogInterposer
The default constructor installs this object as the current active log target.
475 |
# File 'lib/wx/doc/gen/log.rb', line 475 def initialize; end |