@Deprecated
public final class LoggingManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_PATTERN
Deprecated.
since 3.2, use SLF4J for logging
|
static java.lang.String |
LOG_FILE
Deprecated.
since 3.2, use SLF4J for logging
|
static java.lang.String |
LOG_PRIORITY
Deprecated.
since 3.2, use SLF4J for logging
|
Modifier and Type | Method and Description |
---|---|
static void |
addLogTargetToRootLogger(org.apache.log.LogTarget[] logTargets)
Deprecated.
since 3.2, use SLF4J for logging
|
static org.apache.log.Logger |
getLoggerFor(java.lang.String category)
Deprecated.
Get the Logger for a class.
|
static org.apache.log.Logger |
getLoggerForClass()
Deprecated.
Get the Logger for a class - no argument needed because the calling class
name is derived automatically from the call stack.
|
static org.apache.log.Logger |
getLoggerForShortName(java.lang.String category)
Deprecated.
since 3.2, use SLF4J for logging
|
static void |
initializeLogging(java.util.Properties properties)
Deprecated.
since 3.2, use SLF4J for logging
|
static java.lang.String |
removePrefix(java.lang.String name)
Deprecated.
since 3.2, use SLF4J for logging
|
static void |
setLoggingLevels(java.util.Properties appProperties)
Deprecated.
since 3.2, use SLF4J for logging
|
static void |
setPriority(org.apache.log.Priority priority)
Deprecated.
since 3.2, use SLF4J for logging
|
static void |
setPriority(org.apache.log.Priority priority,
java.lang.String category)
Deprecated.
since 3.2, use SLF4J for logging
|
static void |
setPriority(java.lang.String priority)
Deprecated.
since 3.2, use SLF4J for logging
|
static void |
setPriority(java.lang.String priority,
java.lang.String category)
Deprecated.
since 3.2, use SLF4J for logging
|
static void |
setPriorityFullName(java.lang.String priority,
java.lang.String fullName)
Deprecated.
since 3.2, use SLF4J for logging
|
static void |
setTarget(org.apache.log.LogTarget target,
java.lang.String category)
Deprecated.
since 3.2, use SLF4J for logging
|
@Deprecated public static final java.lang.String DEFAULT_PATTERN
@Deprecated public static final java.lang.String LOG_FILE
@Deprecated public static final java.lang.String LOG_PRIORITY
@Deprecated public static void initializeLogging(java.util.Properties properties)
properties
- Properties
to be used for initialization@Deprecated public static void setLoggingLevels(java.util.Properties appProperties)
appProperties
- Properties
that contain the
LOG_PRIORITY
and
LOG_FILE
prefixed entries@Deprecated public static java.lang.String removePrefix(java.lang.String name)
name
- from which to remove the prefixpublic static org.apache.log.Logger getLoggerForClass()
public static org.apache.log.Logger getLoggerFor(java.lang.String category)
category
- - the full name of the logger category@Deprecated public static org.apache.log.Logger getLoggerForShortName(java.lang.String category)
category
- - the full name of the logger category, this will have the prefix removed.@Deprecated public static void setPriority(java.lang.String priority, java.lang.String category)
priority
- - string containing the priority name, e.g. "INFO", "WARN", "DEBUG", "FATAL_ERROR"category
- - string containing the category@Deprecated public static void setPriorityFullName(java.lang.String priority, java.lang.String fullName)
priority
- - priority, e.g. DEBUG, INFOfullName
- - e.g. org.apache.jmeter.etc, will have the prefix removed.@Deprecated public static void setPriority(org.apache.log.Priority priority, java.lang.String category)
priority
- - e.g. Priority.DEBUGcategory
- - string containing the category@Deprecated public static void setPriority(java.lang.String priority)
priority
- - e.g. Priority.DEBUG@Deprecated public static void setPriority(org.apache.log.Priority priority)
priority
- e.g. Priority.DEBUG@Deprecated public static void setTarget(org.apache.log.LogTarget target, java.lang.String category)
target
- the LogTargetcategory
- the category name@Deprecated public static void addLogTargetToRootLogger(org.apache.log.LogTarget[] logTargets)
logTargets
- LogTarget arrayCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.