Class SimpleLogHandler

java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
org.glassfish.main.jul.handler.SimpleLogHandler

public class SimpleLogHandler extends StreamHandler
The simplest possible log handler.

Similar to ConsoleHandler except

  • can be configured to use STDOUT instead of STDERR
  • uses OneLineFormatter by default
Author:
David Matejcek
  • Constructor Details

    • SimpleLogHandler

      public SimpleLogHandler()
      Configures the instance with properties prefixed by the name of this class.
    • SimpleLogHandler

      public SimpleLogHandler(PrintStream printStream)
      Configures the instance with properties prefixed by the name of this class and sets the explicit PrintStream
      Parameters:
      printStream -
  • Method Details