|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.opensmus.MUSLog
public class MUSLog
Class to log messages to the server output (console or text file)
Field Summary | |
---|---|
static int |
kDB
Type of log message : database |
static int |
kDeb
Type of log message : debug |
static int |
kDebWarn
Type of log message : debug warning |
static int |
kGrp
Type of log message : group |
static int |
kMov
Type of log message : movie |
static int |
kMsgErr
Type of log message : error in message handling |
static int |
kScr
Type of log message : scripting |
static int |
kSrv
Type of log message : server |
static int |
kSys
Type of log message : system |
static int |
kUsr
Type of log message : user |
static int |
m_LogLevel
Bitmaks value set automatically by OpenSMUS from the config file log directives |
Constructor Summary | |
---|---|
MUSLog()
|
Method Summary | |
---|---|
static void |
Log(java.lang.Exception e,
int level)
Logs a java exception to output. |
static void |
Log(java.lang.String str,
int level)
Log as message to output. |
static void |
setLogLevel(int level)
Integer value represent the log level bitmask |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int m_LogLevel
public static final int kSys
public static final int kSrv
public static final int kMov
public static final int kGrp
public static final int kUsr
public static final int kDB
public static final int kMsgErr
public static final int kScr
public static final int kDeb
public static final int kDebWarn
Constructor Detail |
---|
public MUSLog()
Method Detail |
---|
public static void setLogLevel(int level)
public static void Log(java.lang.String str, int level)
public static void Log(java.lang.Exception e, int level)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |