Class: Wx::LogStderr
- Defined in:
- lib/wx/doc/gen/log.rb,
lib/wx/doc/log.rb
Overview
This class is untracked and should not be derived from nor instances extended!
This class can be used to redirect the log messages to a C file stream (not to be confused with C++ streams).
It is the default log target for the non-GUI wxWidgets applications which send all the output to stderr.
Category: Logging
Instance Method Summary collapse
-
#initialize(fh = 2) ⇒ LogStderr
constructor
Creates a new LogStderr for the given file handle.
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(fh = 2) ⇒ LogStderr
Creates a new LogStderr for the given file handle. Possible values are 2 for stderr
and 1 for stdout
.
24 |
# File 'lib/wx/doc/log.rb', line 24 def initialize(fh = 2) end |