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)


Variable Index

 o kDB
Type of log message : database
 o kDeb
Type of log message : debug
 o kDebWarn
Type of log message : debug warning
 o kGrp
Type of log message : group
 o kMov
Type of log message : movie
 o kMsgErr
Type of log message : error in message handling
 o kScr
Type of log message : scripting
 o kSrv
Type of log message : server
 o kSys
Type of log message : system
 o kUsr
Type of log message : user
 o m_LogLevel
Bitmaks value set automatically by Nebulae from the config file log directives

Constructor Index

 o MUSLog()

Method Index

 o Log(Exception, int)
Logs a java exception to output.
 o Log(String, int)
Log as message to output.
 o setLogLevel(int)
Integer value represent the log level bitmask

Variables

 o m_LogLevel
 public static int m_LogLevel
Bitmaks value set automatically by Nebulae from the config file log directives

 o kSys
 public static final int kSys
Type of log message : system

 o kSrv
 public static final int kSrv
Type of log message : server

 o kMov
 public static final int kMov
Type of log message : movie

 o kGrp
 public static final int kGrp
Type of log message : group

 o kUsr
 public static final int kUsr
Type of log message : user

 o kDB
 public static final int kDB
Type of log message : database

 o kMsgErr
 public static final int kMsgErr
Type of log message : error in message handling

 o kScr
 public static final int kScr
Type of log message : scripting

 o kDeb
 public static final int kDeb
Type of log message : debug

 o kDebWarn
 public static final int kDebWarn
Type of log message : debug warning

Constructors

 o MUSLog
 public MUSLog()

Methods

 o setLogLevel
 public static void setLogLevel(int level)
Integer value represent the log level bitmask

 o 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.

 o 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