Class: Wx::LogLevelValues

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

Overview

Different standard log levels (you may also define your own) used with by standard Log functions log_generic, log_error, log_warning, etc…

Requires:

  • USE_LOG

Constant Summary collapse

LOG_FatalError =

program can’t continue, abort immediately

Wx::LogLevelValues.new(0)
LOG_Error =

a serious error, user must be informed about it

Wx::LogLevelValues.new(1)
LOG_Warning =

user is normally informed about it but may be ignored

Wx::LogLevelValues.new(2)
LOG_Message =

normal message (i.e. normal output of a non GUI app)

Wx::LogLevelValues.new(3)
LOG_Status =

informational: might go to the status line of GUI app

Wx::LogLevelValues.new(4)
LOG_Info =

informational message (a.k.a. ‘Verbose’)

Wx::LogLevelValues.new(5)
LOG_Debug =

never shown to the user, disabled in release mode

Wx::LogLevelValues.new(6)
LOG_Trace =

trace messages are also only enabled in debug mode

Wx::LogLevelValues.new(7)
LOG_Progress =

used for progress indicator (not yet)

Wx::LogLevelValues.new(8)
LOG_User =

user defined levels start here

Wx::LogLevelValues.new(100)
LOG_Max =
Wx::LogLevelValues.new(10000)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, [], #allbits?, #anybits?, #coerce, enumerators, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, non_distinct, #real?, set_non_distinct, #succ, #to_int, #to_s, #|, #~

Constructor Details

This class inherits a constructor from Wx::Enum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wx::Enum