jwx!
v0.0.2


wx
Class Log

java.lang.Object
  extended bywx.Log
Direct Known Subclasses:
LogBuffer, LogChain, LogGui, LogStderr, LogTextCtrl, LogWindow

public class Log
extends java.lang.Object


Field Summary
static int LOG_Debug
           
static int LOG_Error
           
static int LOG_FatalError
           
static int LOG_Info
           
static int LOG_Max
           
static int LOG_Message
           
static int LOG_Progress
           
static int LOG_Status
           
static int LOG_Trace
           
static int LOG_User
           
static int LOG_Warning
           
static java.lang.String TRACE_MemAlloc
           
static java.lang.String TRACE_Messages
           
static java.lang.String TRACE_RefCount
           
static java.lang.String TRACE_ResAlloc
           
static int TraceMemAlloc
           
static int TraceMessages
           
static int TraceRefCount
           
static int TraceResAlloc
           
 
Constructor Summary
Log()
           
 
Method Summary
static void addTraceMask(java.lang.String str)
           
static void clearTraceMasks()
           
static void debug(java.lang.String msg)
           
 void delete()
           
static void dontCreateOnDemand()
           
static boolean enableLogging()
           
static boolean enableLogging(boolean doIt)
           
static void error(java.lang.String msg)
           
static void fatalError(java.lang.String msg)
           
 void flush()
           
static void flushActive()
           
static Log getActiveTarget()
           
static long getLogLevel()
           
static java.lang.String getTimestamp()
           
static long getTraceMask()
           
static java.lang.String[] getTraceMasks()
           
static boolean getVerbose()
           
 boolean hasPendingMessages()
           
static boolean isAllowedTraceMask(java.lang.String mask)
           
static boolean isEnabled()
           
static void message(java.lang.String msg)
           
static void onLog(long level, java.lang.String szString, long t)
           
static void removeTraceMask(java.lang.String str)
           
static void resume()
           
static Log setActiveTarget(Log pLogger)
           
static void setLogLevel(long logLevel)
           
static void setTimestamp(java.lang.String ts)
           
static void setTraceMask(long ulMask)
           
static void setVerbose()
           
static void setVerbose(boolean bVerbose)
           
static void status(Frame frame, java.lang.String msg)
           
static void suspend()
           
static void sysError(java.lang.String msg)
           
static long sysErrorCode()
           
static java.lang.String sysErrorMsg()
           
static java.lang.String sysErrorMsg(long nErrCode)
           
static java.lang.String timeStamp()
           
static void trace(java.lang.String mask, java.lang.String msg)
           
static void verbose(java.lang.String msg)
           
static void warning(java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Log

public Log()
Method Detail

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()

jwx!
v0.0.2


© 2006 Amit G Mendapara.