OKMUtils  2.0
OpenKM Utilities
com.openkm.util.Logger Class Reference

Public Member Functions

void debug (string text)
 
void info (string text)
 
void warn (string text)
 
void error (string text)
 
void error (string text, Exception ex)
 
void changeLogName (String logName)
 
void enableMessageBox (bool enable)
 
void changeLogLevel (int level)
 

Public Attributes

const int ERROR = 0
 
const int WARN = 1
 
const int INFO = 2
 
const int DEBUG = 3
 

Properties

static Logger Instance [get]
 

Member Function Documentation

void com.openkm.util.Logger.changeLogLevel ( int  level)
void com.openkm.util.Logger.changeLogName ( String  logName)
void com.openkm.util.Logger.debug ( string  text)
void com.openkm.util.Logger.enableMessageBox ( bool  enable)
void com.openkm.util.Logger.error ( string  text)
void com.openkm.util.Logger.error ( string  text,
Exception  ex 
)
void com.openkm.util.Logger.info ( string  text)
void com.openkm.util.Logger.warn ( string  text)

Member Data Documentation

const int com.openkm.util.Logger.DEBUG = 3
const int com.openkm.util.Logger.ERROR = 0
const int com.openkm.util.Logger.INFO = 2
const int com.openkm.util.Logger.WARN = 1

Property Documentation

Logger com.openkm.util.Logger.Instance
staticget

The documentation for this class was generated from the following file: