Package ch.qos.logback.core.util
Class ContextUtil
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.util.ContextUtil
-
- All Implemented Interfaces:
ContextAware
@Deprecated(since="2022-01-27") public class ContextUtil extends ContextAwareBase
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description ContextUtil(Context context)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addFrameworkPackage(java.util.List<java.lang.String> frameworkPackages, java.lang.String packageName)
Deprecated.void
addGroovyPackages(java.util.List<java.lang.String> frameworkPackages)
Deprecated.void
addProperties(java.util.Properties props)
Deprecated.static java.util.Map<java.lang.String,java.lang.String>
getFilenameCollisionMap(Context context)
Deprecated.static java.util.Map<java.lang.String,FileNamePattern>
getFilenamePatternCollisionMap(Context context)
Deprecated.static java.lang.String
getLocalHostName()
Deprecated.java.lang.String
safelyGetLocalHostName()
Deprecated.Add the local host's name as a property-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Constructor Detail
-
ContextUtil
public ContextUtil(Context context)
Deprecated.
-
-
Method Detail
-
getLocalHostName
public static java.lang.String getLocalHostName() throws java.net.UnknownHostException, java.net.SocketException
Deprecated.- Throws:
java.net.UnknownHostException
java.net.SocketException
-
safelyGetLocalHostName
public java.lang.String safelyGetLocalHostName()
Deprecated.Add the local host's name as a property
-
addProperties
public void addProperties(java.util.Properties props)
Deprecated.
-
getFilenameCollisionMap
public static java.util.Map<java.lang.String,java.lang.String> getFilenameCollisionMap(Context context)
Deprecated.
-
getFilenamePatternCollisionMap
public static java.util.Map<java.lang.String,FileNamePattern> getFilenamePatternCollisionMap(Context context)
Deprecated.
-
addGroovyPackages
public void addGroovyPackages(java.util.List<java.lang.String> frameworkPackages)
Deprecated.
-
addFrameworkPackage
public void addFrameworkPackage(java.util.List<java.lang.String> frameworkPackages, java.lang.String packageName)
Deprecated.
-
-