|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.logging.Handler
org.compiere.util.CLogConsole
public class CLogConsole
Compiere Console Logger
| Constructor Summary | |
|---|---|
CLogConsole()
Constructor |
|
| Method Summary | |
|---|---|
void |
close()
Close |
void |
flush()
Flush |
static CLogConsole |
get(boolean create)
Get Console Handler |
void |
publish(LogRecord record)
Publish |
void |
setEncoding(String encoding)
Set Encoding |
void |
setLevel(Level newLevel)
Set Level |
String |
toString()
String Representation |
| Methods inherited from class java.util.logging.Handler |
|---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setErrorManager, setFilter, setFormatter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CLogConsole()
| Method Detail |
|---|
public static CLogConsole get(boolean create)
create - create if not exists
public void setEncoding(String encoding)
throws SecurityException,
UnsupportedEncodingException
setEncoding in class Handlerencoding - encoding
SecurityException
UnsupportedEncodingException
public void setLevel(Level newLevel)
throws SecurityException
setLevel in class HandlernewLevel - new Level
SecurityExceptionHandler.setLevel(java.util.logging.Level)public void publish(LogRecord record)
publish in class Handlerrecord - log recordHandler.publish(java.util.logging.LogRecord)public void flush()
flush in class HandlerHandler.flush()
public void close()
throws SecurityException
close in class HandlerSecurityExceptionHandler.close()public String toString()
toString in class Object
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||