All Packages Class Hierarchy This Package Previous Next Index
Class net.tabuleiro.nebulae.MUSLog
net.tabuleiro.nebulae.MUSLog
- public class MUSLog
- extends java.lang.Object
Class to log messages to the server output (console or text file)
-
kDB
- Type of log message : database
-
kDeb
- Type of log message : debug
-
kDebWarn
- Type of log message : debug warning
-
kGrp
- Type of log message : group
-
kMov
- Type of log message : movie
-
kMsgErr
- Type of log message : error in message handling
-
kScr
- Type of log message : scripting
-
kSrv
- Type of log message : server
-
kSys
- Type of log message : system
-
kUsr
- Type of log message : user
-
m_LogLevel
- Bitmaks value set automatically by Nebulae from the config file log directives
-
MUSLog()
-
-
Log(Exception, int)
- Logs a java exception to output.
-
Log(String, int)
- Log as message to output.
-
setLogLevel(int)
- Integer value represent the log level bitmask
m_LogLevel
public static int m_LogLevel
- Bitmaks value set automatically by Nebulae from the config file log directives
kSys
public static final int kSys
- Type of log message : system
kSrv
public static final int kSrv
- Type of log message : server
kMov
public static final int kMov
- Type of log message : movie
kGrp
public static final int kGrp
- Type of log message : group
kUsr
public static final int kUsr
- Type of log message : user
kDB
public static final int kDB
- Type of log message : database
kMsgErr
public static final int kMsgErr
- Type of log message : error in message handling
kScr
public static final int kScr
- Type of log message : scripting
kDeb
public static final int kDeb
- Type of log message : debug
kDebWarn
public static final int kDebWarn
- Type of log message : debug warning
MUSLog
public MUSLog()
setLogLevel
public static void setLogLevel(int level)
- Integer value represent the log level bitmask
Log
public static void Log(java.lang.String str,
int level)
- Log as message to output.
Integer parameter is the type of message, for example MUSLog.kSys.
Log
public static void Log(java.lang.Exception e,
int level)
- Logs a java exception to output.
Integer parameter is the type of message, for example MUSLog.kDB.
All Packages Class Hierarchy This Package Previous Next Index