Package com.google.apphosting.runtime
Class LogHandler
java.lang.Object
java.util.logging.Handler
com.google.apphosting.runtime.LogHandler
- Direct Known Subclasses:
JsonLogHandler,NullSandboxLogHandler
LogHandler is installed on the root logger. This parent class will filter all messages
specific to the runtime so they do not get sent to the customer. This class is meant to be
inherited to handle the filtered log messages appropriately.-
Method Summary
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
Method Details
-
init
Initialize theLogHandlerby installing it on the root logger. After this call, log messages specific to the runtime will be filtered out from being sent to the customer. -
publish
-
flush
public abstract void flush() -
close
public abstract void close()
-