Package org.eclipse.jetty.util.log
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 java.lang.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 Summary
Fields Modifier and Type Field Description static int
LEVEL_ALL
Deprecated.static int
LEVEL_DEBUG
Deprecated.static int
LEVEL_DEFAULT
Deprecated.static int
LEVEL_INFO
Deprecated.static int
LEVEL_OFF
Deprecated.static int
LEVEL_WARN
Deprecated.
-
Constructor Summary
Constructors Constructor Description AbstractLogger()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
debug(java.lang.String msg, long arg)
Deprecated.Formats and logs at debug level.Logger
getLogger(java.lang.String name)
Deprecated.static java.lang.String
getLoggingProperty(java.util.Properties props, java.lang.String name, java.lang.String property)
Deprecated.static int
lookupLoggingLevel(java.util.Properties props, java.lang.String name)
Deprecated.Get the Logging Level for the provided log name.
-
-
-
Field Detail
-
LEVEL_DEFAULT
public static final int LEVEL_DEFAULT
Deprecated.- See Also:
- Constant Field Values
-
LEVEL_ALL
public static final int LEVEL_ALL
Deprecated.- See Also:
- Constant Field Values
-
LEVEL_DEBUG
public static final int LEVEL_DEBUG
Deprecated.- See Also:
- Constant Field Values
-
LEVEL_INFO
public static final int LEVEL_INFO
Deprecated.- See Also:
- Constant Field Values
-
LEVEL_WARN
public static final int LEVEL_WARN
Deprecated.- See Also:
- Constant Field Values
-
LEVEL_OFF
public static final int LEVEL_OFF
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getLogger
public final Logger getLogger(java.lang.String name)
Deprecated.
-
lookupLoggingLevel
public static int lookupLoggingLevel(java.util.Properties props, java.lang.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 checkname
- the name to get log for- Returns:
- the logging level
-
getLoggingProperty
public static java.lang.String getLoggingProperty(java.util.Properties props, java.lang.String name, java.lang.String property)
Deprecated.
-
-