Class AbstractLogger

java.lang.Object
org.eclipse.jetty.util.log.AbstractLogger
All Implemented Interfaces:
Logger
Direct Known Subclasses:
JavaUtilLog, LoggerLog, Slf4jLog, StdErrLog

@Deprecated(since="2021-05-27") public abstract class AbstractLogger extends Object implements Logger
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Abstract Logger. Manages the atomic registration of the logger by name.
  • Field Details

  • Constructor Details

    • AbstractLogger

      public AbstractLogger()
      Deprecated.
  • Method Details

    • getLogger

      public final Logger getLogger(String name)
      Deprecated.
      Specified by:
      getLogger in interface Logger
      Parameters:
      name - the name of the logger
      Returns:
      a logger with the given name
    • lookupLoggingLevel

      public static int lookupLoggingLevel(Properties props, String name)
      Deprecated.
      Get the Logging Level for the provided log name. Using the FQCN first, then each package segment from longest to shortest.
      Parameters:
      props - the properties to check
      name - the name to get log for
      Returns:
      the logging level
    • getLoggingProperty

      public static String getLoggingProperty(Properties props, String name, String property)
      Deprecated.
    • debug

      public void debug(String msg, long arg)
      Deprecated.
      Description copied from interface: Logger
      Formats and logs at debug level. avoids autoboxing of integers
      Specified by:
      debug in interface Logger
      Parameters:
      msg - the formatting string
      arg - long value