Class: Wx::LogTextCtrl

Inherits:
Log
  • Object
show all
Defined in:
lib/wx/doc/gen/log.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

Using these target all the log messages can be redirected to a text control.

The text control must have been created with TE_MULTILINE style by the caller previously.

Category: Logging

See Also:

Requires:

  • USE_LOG

Instance Method Summary collapse

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(pTextCtrl) ⇒ Wx::LogTextCtrl

Constructs a log target which sends all the log messages to the given text control.

The textctrl parameter cannot be NULL.

Parameters:



458
# File 'lib/wx/doc/gen/log.rb', line 458

def initialize(pTextCtrl) end