|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.logging.Handler java.util.logging.StreamHandler com.google.appengine.api.log.dev.DevLogHandler
public class DevLogHandler
Constructor Summary | |
---|---|
DevLogHandler(LocalLogService serviceToUse)
Creates a new LogHandler that writes log records to the LocalLogService. |
Method Summary | |
---|---|
int |
convertLogLevel(java.util.logging.Level level)
|
static java.lang.String |
getRequestId()
|
void |
publish(java.util.logging.LogRecord record)
Writes an application-level log to the LocalLogService. |
Methods inherited from class java.util.logging.StreamHandler |
---|
close, flush, isLoggable, setEncoding, setOutputStream |
Methods inherited from class java.util.logging.Handler |
---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, 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 DevLogHandler(LocalLogService serviceToUse)
Method Detail |
---|
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.StreamHandler
record
- The application-level log that should be recorded.StreamHandler.publish(LogRecord)
public int convertLogLevel(java.util.logging.Level level)
public static java.lang.String getRequestId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |