Class OneLineFormatter


public class OneLineFormatter extends GlassFishLogFormatter
Fast Formatter usable in tests or even in production if you need only simple logs with time, level and messages.
Author:
David Matejcek
  • Constructor Details

    • OneLineFormatter

      public OneLineFormatter(HandlerId handlerId)
      Creates formatter with default time format if not set otherwise in the logging configuration.
      Parameters:
      handlerId -
    • OneLineFormatter

      public OneLineFormatter()
      Creates an instance and initializes defaults from log manager's configuration
  • Method Details