|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.logging.util.LoggerHandler
public class LoggerHandler
A utility class that makes a com.sas.services.logging.LoggerInterface look like a java.util.logging.Logger.
Constructor Summary | |
---|---|
LoggerHandler(LoggerInterface logger)
Deprecated. Contruct a java.util.logging.Handler subclass that writes messages to a com.sas.services.logging.LoggerInterface. |
|
LoggerHandler(LoggerInterface logger,
java.util.logging.Formatter formatter)
Deprecated. |
|
LoggerHandler(LoggerInterface logger,
java.util.logging.Formatter formatter,
java.lang.String loggingContext)
Deprecated. |
Method Summary | |
---|---|
void |
close()
Deprecated. |
void |
flush()
Deprecated. |
java.util.logging.Formatter |
getFormatter()
Deprecated. |
java.util.logging.Level |
getLevel()
Deprecated. |
java.lang.String |
getLoggingContext()
Deprecated. |
void |
publish(java.util.logging.LogRecord logRecord)
Deprecated. |
void |
setFormatter(java.util.logging.Formatter newFormatter)
Deprecated. |
void |
setLevel(java.util.logging.Level level)
Deprecated. |
void |
setLoggingContext(java.lang.String loggingContext)
Deprecated. |
Constructor Detail |
---|
public LoggerHandler(LoggerInterface logger)
logger
- the com.sas.services.logging.LoggerInterface to write to.public LoggerHandler(LoggerInterface logger, java.util.logging.Formatter formatter)
public LoggerHandler(LoggerInterface logger, java.util.logging.Formatter formatter, java.lang.String loggingContext)
Method Detail |
---|
public void close()
close
in class java.util.logging.Handler
public void flush()
flush
in class java.util.logging.Handler
public void publish(java.util.logging.LogRecord logRecord)
publish
in class java.util.logging.Handler
public void setLevel(java.util.logging.Level level)
setLevel
in class java.util.logging.Handler
public java.util.logging.Level getLevel()
getLevel
in class java.util.logging.Handler
public void setFormatter(java.util.logging.Formatter newFormatter)
setFormatter
in class java.util.logging.Handler
public java.util.logging.Formatter getFormatter()
getFormatter
in class java.util.logging.Handler
public void setLoggingContext(java.lang.String loggingContext)
public java.lang.String getLoggingContext()
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |