module Wx class Log # Sets the current component for log info to the given value before executing the # given block and restores the previous component value after the block returns. # @param [String] comp component value for log info def self.for_component(comp, &block) end end class LogStderr # Creates a new LogStderr for the given file handle. # Possible values are 2 for `stderr` and 1 for `stdout`. # @param [Integer] fh file stream handle def initialize(fh = 2) end end class LogNull # Suspends logging before executing the given block and restarts logging when the block returns. def self.no_log(&block) end end end