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