GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
debug.DebugMsg Class Reference

wxGUI debugging More...

Public Member Functions

def __init__
 
def SetLevel
 Initialize gui debug level. More...
 
def msg
 Print debug message. More...
 
def GetLevel
 Return current GUI debug level. More...
 

Data Fields

 debuglevel
 

Detailed Description

wxGUI debugging

1 g.gisenv set=WX_DEBUG=[0-5]

Definition at line 27 of file debug.py.

Constructor & Destructor Documentation

def debug.DebugMsg.__init__ (   self)

Definition at line 34 of file debug.py.

Member Function Documentation

def debug.DebugMsg.GetLevel (   self)

Return current GUI debug level.

Definition at line 62 of file debug.py.

References debug.DebugMsg.debuglevel.

def debug.DebugMsg.msg (   self,
  level,
  message,
  args 
)

Print debug message.

Parameters
leveldebug level (0-5)
messagemessage to be printed
*argsformatting params

Definition at line 45 of file debug.py.

References debug.DebugMsg.debuglevel.

def debug.DebugMsg.SetLevel (   self)

Initialize gui debug level.

Definition at line 40 of file debug.py.

References debug.DebugMsg.debuglevel.

Field Documentation

debug.DebugMsg.debuglevel

Definition at line 36 of file debug.py.

Referenced by debug.DebugMsg.GetLevel(), debug.DebugMsg.msg(), and debug.DebugMsg.SetLevel().


The documentation for this class was generated from the following file: