Class DevLogHandler

java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
com.google.appengine.api.log.dev.DevLogHandler

public class DevLogHandler extends StreamHandler
  • Constructor Details

    • DevLogHandler

      public DevLogHandler(LocalLogService serviceToUse)
      Creates a new LogHandler that writes log records to the LocalLogService.
  • Method Details

    • publish

      public void publish(LogRecord record)
      Writes an application-level log to the LocalLogService.
      Overrides:
      publish in class StreamHandler
      Parameters:
      record - The application-level log that should be recorded.
      See Also:
    • convertLogLevel

      public int convertLogLevel(Level level)
    • getRequestId

      public static String getRequestId()