|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.logging.Handler
com.sun.enterprise.server.logging.SyslogHandler
@Service @Scoped(value=org.jvnet.hk2.component.Singleton.class) public class SyslogHandler
Created by IntelliJ IDEA. User: cmott Date: Mar 11, 2009 Time: 1:41:30 PM To change this template use File | Settings | File Templates.
| Constructor Summary | |
|---|---|
SyslogHandler()
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
flush()
|
void |
log()
Retrieves the LogRecord from our Queue and store them in the file |
void |
postConstruct()
|
void |
preDestroy()
|
void |
publish(java.util.logging.LogRecord record)
Publishes the logrecord storing it in our queue |
| Methods inherited from class java.util.logging.Handler |
|---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyslogHandler()
| Method Detail |
|---|
public void postConstruct()
postConstruct in interface org.jvnet.hk2.component.PostConstructpublic void preDestroy()
preDestroy in interface org.jvnet.hk2.component.PreDestroypublic void log()
public void publish(java.util.logging.LogRecord record)
publish in class java.util.logging.Handlerpublic void close()
close in class java.util.logging.Handlerpublic void flush()
flush in class java.util.logging.Handler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||