wx
Class Log
java.lang.Object
wx.Log
- Direct Known Subclasses:
- LogBuffer, LogChain, LogGui, LogStderr, LogTextCtrl, LogWindow
- public class Log
- extends java.lang.Object
Constructor Summary |
Log()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRACE_MemAlloc
public static final java.lang.String TRACE_MemAlloc
TRACE_Messages
public static final java.lang.String TRACE_Messages
TRACE_ResAlloc
public static final java.lang.String TRACE_ResAlloc
TRACE_RefCount
public static final java.lang.String TRACE_RefCount
TraceMemAlloc
public static final int TraceMemAlloc
- See Also:
- Constant Field Values
TraceMessages
public static final int TraceMessages
- See Also:
- Constant Field Values
TraceResAlloc
public static final int TraceResAlloc
- See Also:
- Constant Field Values
TraceRefCount
public static final int TraceRefCount
- See Also:
- Constant Field Values
LOG_FatalError
public static final int LOG_FatalError
LOG_Error
public static final int LOG_Error
LOG_Warning
public static final int LOG_Warning
LOG_Message
public static final int LOG_Message
LOG_Status
public static final int LOG_Status
LOG_Info
public static final int LOG_Info
LOG_Debug
public static final int LOG_Debug
LOG_Trace
public static final int LOG_Trace
LOG_Progress
public static final int LOG_Progress
LOG_User
public static final int LOG_User
- See Also:
- Constant Field Values
LOG_Max
public static final int LOG_Max
- See Also:
- Constant Field Values
Log
public Log()
delete
public void delete()
isEnabled
public static boolean isEnabled()
enableLogging
public static boolean enableLogging(boolean doIt)
enableLogging
public static boolean enableLogging()
onLog
public static void onLog(long level,
java.lang.String szString,
long t)
flush
public void flush()
flushActive
public static void flushActive()
getActiveTarget
public static Log getActiveTarget()
setActiveTarget
public static Log setActiveTarget(Log pLogger)
suspend
public static void suspend()
resume
public static void resume()
setVerbose
public static void setVerbose(boolean bVerbose)
setVerbose
public static void setVerbose()
setLogLevel
public static void setLogLevel(long logLevel)
dontCreateOnDemand
public static void dontCreateOnDemand()
setTraceMask
public static void setTraceMask(long ulMask)
addTraceMask
public static void addTraceMask(java.lang.String str)
removeTraceMask
public static void removeTraceMask(java.lang.String str)
clearTraceMasks
public static void clearTraceMasks()
getTraceMasks
public static java.lang.String[] getTraceMasks()
setTimestamp
public static void setTimestamp(java.lang.String ts)
getVerbose
public static boolean getVerbose()
getTraceMask
public static long getTraceMask()
isAllowedTraceMask
public static boolean isAllowedTraceMask(java.lang.String mask)
getLogLevel
public static long getLogLevel()
getTimestamp
public static java.lang.String getTimestamp()
timeStamp
public static java.lang.String timeStamp()
hasPendingMessages
public boolean hasPendingMessages()
error
public static void error(java.lang.String msg)
fatalError
public static void fatalError(java.lang.String msg)
warning
public static void warning(java.lang.String msg)
message
public static void message(java.lang.String msg)
verbose
public static void verbose(java.lang.String msg)
status
public static void status(Frame frame,
java.lang.String msg)
sysError
public static void sysError(java.lang.String msg)
debug
public static void debug(java.lang.String msg)
trace
public static void trace(java.lang.String mask,
java.lang.String msg)
sysErrorCode
public static long sysErrorCode()
sysErrorMsg
public static java.lang.String sysErrorMsg(long nErrCode)
sysErrorMsg
public static java.lang.String sysErrorMsg()
© 2006 Amit G Mendapara.