Package com.google.appengine.api.log.dev
Class DevLogHandler
java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
com.google.appengine.api.log.dev.DevLogHandler
-
Constructor Summary
ConstructorsConstructorDescriptionDevLogHandler(LocalLogService serviceToUse) Creates a new LogHandler that writes log records to the LocalLogService. -
Method Summary
Modifier and TypeMethodDescriptionintconvertLogLevel(Level level) static StringvoidWrites an application-level log to the LocalLogService.Methods inherited from class java.util.logging.StreamHandler
close, flush, isLoggable, setEncodingMethods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, setErrorManager, setFilter, setFormatter, setLevel
-
Constructor Details
-
DevLogHandler
Creates a new LogHandler that writes log records to the LocalLogService.
-
-
Method Details
-
publish
Writes an application-level log to the LocalLogService.- Overrides:
publishin classStreamHandler- Parameters:
record- The application-level log that should be recorded.- See Also:
-
convertLogLevel
-
getRequestId
-