Skip navigation links
A C D E F G H I L M N O P R S T W 

A

addAppender(Appender) - Method in class org.apache.log4j.Category
Add newAppender to the list of appenders of this Category instance.
addAppender(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
Add an appender.
ALL - Static variable in class org.apache.log4j.Level
The ALL has the lowest possible rank and is intended to turn on all logging.
ALL_INT - Static variable in class org.apache.log4j.Priority
The ALL has the lowest possible rank and is intended to turn on all logging.
Appender - Interface in org.apache.log4j
Appender interface without Apache Log4j's methods.
AppenderAttachable - Interface in org.apache.log4j.spi
Interface for attaching appenders to objects.
assertLog(boolean, String) - Method in class org.apache.log4j.Category
If assertion parameter is false, then logs msg as an error statement.

C

callAppenders(LoggingEvent) - Method in class org.apache.log4j.Category
Call the appenders in the hierarchy starting at this.
Category - Class in org.apache.log4j
This class has been deprecated and replaced by the Logger subclass.
Category(String) - Constructor for class org.apache.log4j.Category
 
clear() - Static method in class org.apache.log4j.MDC
Remove all values from the MDC.
clear() - Static method in class org.apache.log4j.NDC
Clear any nested diagnostic information if any.
cloneStack() - Static method in class org.apache.log4j.NDC
Clone the diagnostic context for the current thread.

D

debug(Object) - Method in class org.apache.log4j.Category
Log a message object with the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the DEBUG level including the stack trace of the Throwable t passed as parameter.
DEBUG - Static variable in class org.apache.log4j.Level
The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
DEBUG - Static variable in class org.apache.log4j.Priority
Deprecated.
Use Level.DEBUG instead.
DEBUG_INT - Static variable in class org.apache.log4j.Priority
The DEBUG Level designates fine-grained informational events that are most useful to debug an application.

E

equals(Object) - Method in class org.apache.log4j.Priority
Two priorities are equal if their level fields are equal.
error(Object) - Method in class org.apache.log4j.Category
Log a message object with the ERROR Level.
error(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the ERROR level including the stack trace of the Throwable t passed as parameter.
ERROR - Static variable in class org.apache.log4j.Level
The ERROR level designates error events that might still allow the application to continue running.
ERROR - Static variable in class org.apache.log4j.Priority
Deprecated.
Use Level.ERROR instead.
ERROR_INT - Static variable in class org.apache.log4j.Priority
The ERROR level designates error events that might still allow the application to continue running.
exists(String) - Static method in class org.apache.log4j.Category
Deprecated.
exists(String) - Static method in class org.apache.log4j.LogManager
Retrieves an already existing logger by name.

F

fatal(Object) - Method in class org.apache.log4j.Category
Log a message object with the FATAL Level.
fatal(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the FATAL level including the stack trace of the Throwable t passed as parameter.
FATAL - Static variable in class org.apache.log4j.Level
The FATAL level designates very severe error events that will presumably lead the application to abort.
FATAL - Static variable in class org.apache.log4j.Priority
Deprecated.
Use Level.FATAL instead.
FATAL_INT - Static variable in class org.apache.log4j.Priority
The FATAL level designates very severe error events that will presumably lead the application to abort.
forcedLog(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
This method creates a new logging event and logs the event without further checks.

G

get(String) - Static method in class org.apache.log4j.MDC
Get the context identified by the key parameter.
getAdditivity() - Method in class org.apache.log4j.Category
Get the additivity flag for this Category instance.
getAllAppenders() - Method in class org.apache.log4j.Category
Get the appenders contained in this category as an Enumeration.
getAllAppenders() - Method in interface org.apache.log4j.spi.AppenderAttachable
Get all previously added appenders as an Enumeration.
getAllPossiblePriorities() - Static method in class org.apache.log4j.Priority
Deprecated.
This method will be removed with no replacement.
getAppender(String) - Method in class org.apache.log4j.Category
Look for the appender named as name.
getAppender(String) - Method in interface org.apache.log4j.spi.AppenderAttachable
Get an appender by name.
getChainedPriority() - Method in class org.apache.log4j.Category
Deprecated.
Please use the the Category.getEffectiveLevel() method instead.
getContext() - Static method in class org.apache.log4j.MDC
Get the current thread's MDC as a hashtable.
getCurrentCategories() - Static method in class org.apache.log4j.Category
Deprecated.
Please use LogManager.getCurrentLoggers() instead.
getCurrentLoggers() - Static method in class org.apache.log4j.LogManager
Retrieves all existing loggers.
getDepth() - Static method in class org.apache.log4j.NDC
Get the current nesting depth of this diagnostic context.
getEffectiveLevel() - Method in class org.apache.log4j.Category
Starting from this category, search the category hierarchy for a non-null level and return it.
getInstance(String) - Static method in class org.apache.log4j.Category
Deprecated.
Make sure to use Logger.getLogger(String) instead.
getInstance(Class) - Static method in class org.apache.log4j.Category
Deprecated.
Please make sure to use Logger.getLogger(Class) instead.
getLevel() - Method in class org.apache.log4j.Category
Returns the assigned Level, if any, for this Category.
getLogger(String) - Static method in class org.apache.log4j.Logger
Retrieve a logger named according to the value of the name parameter.
getLogger(Class) - Static method in class org.apache.log4j.Logger
Shorthand for getLogger(clazz.getName()).
getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.Logger
Like Logger.getLogger(String) except that the type of logger instantiated depends on the type returned by the LoggerFactory.makeNewLoggerInstance(java.lang.String) method of the factory parameter.
getLogger(String) - Static method in class org.apache.log4j.LogManager
Retrieves a logger by name.
getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.LogManager
Retrieves a logger by name.
getLogger(Class) - Static method in class org.apache.log4j.LogManager
Retrieves a logger by class.
getName() - Method in class org.apache.log4j.Category
Retrieves the category name.
getParent() - Method in class org.apache.log4j.Category
Returns the parent of this category.
getPriority() - Method in class org.apache.log4j.Category
Deprecated.
Please use Category.getLevel() instead.
getResourceBundle() - Method in class org.apache.log4j.Category
Return the inherited ResourceBundle for this category.
getRoot() - Static method in class org.apache.log4j.Category
Deprecated.
Please use Logger.getRootLogger() instead.
getRootLogger() - Static method in class org.apache.log4j.Logger
Return the root logger for the current logger repository.
getRootLogger() - Static method in class org.apache.log4j.LogManager
Retrieves the root logger.
getSyslogEquivalent() - Method in class org.apache.log4j.Priority
Returns the syslog equivalent of this priority as an integer.

H

hashCode() - Method in class org.apache.log4j.Priority
 

I

info(Object) - Method in class org.apache.log4j.Category
Log a message object with the INFO Level.
info(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the INFO level including the stack trace of the Throwable t passed as parameter.
INFO - Static variable in class org.apache.log4j.Level
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
INFO - Static variable in class org.apache.log4j.Priority
Deprecated.
Use Level.INFO instead.
INFO_INT - Static variable in class org.apache.log4j.Priority
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
inherit(Stack) - Static method in class org.apache.log4j.NDC
Inherit the diagnostic context of another thread.
isAttached(Appender) - Method in class org.apache.log4j.Category
Is the appender passed as parameter attached to this category?
isAttached(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
Returns true if the specified appender is in list of attached attached, false otherwise.
isCoveredByMinimumLevel(Level) - Static method in class org.apache.log4j.Category
Checks if a given severity level is covered by the logging provider's minimum level.
isDebugEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the DEBUG Level.
isEnabledFor(Priority) - Method in class org.apache.log4j.Category
Check whether this category is enabled for a given Level passed as parameter.
isGreaterOrEqual(Priority) - Method in class org.apache.log4j.Priority
Returns true if this level has a higher or equal level than the level passed as argument, false otherwise.
isInfoEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the info Level.
isTraceEnabled() - Method in class org.apache.log4j.Logger
Check whether this category is enabled for the TRACE Level.

L

l7dlog(Priority, String, Throwable) - Method in class org.apache.log4j.Category
Log a localized message.
l7dlog(Priority, String, Object[], Throwable) - Method in class org.apache.log4j.Category
Log a localized and parameterized message.
Level - Class in org.apache.log4j
Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFO, DEBUG and ALL.
Level(int, String, int) - Constructor for class org.apache.log4j.Level
Instantiate a Level object.
log(Priority, Object, Throwable) - Method in class org.apache.log4j.Category
This generic form is intended to be used by wrappers.
log(Priority, Object) - Method in class org.apache.log4j.Category
This generic form is intended to be used by wrappers.
log(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
This is the most generic printing method.
Logger - Class in org.apache.log4j
This is the central class in the log4j package.
Logger(String) - Constructor for class org.apache.log4j.Logger
 
LoggerFactory - Interface in org.apache.log4j.spi
Implement this interface to create new instances of Logger or a sub-class of Logger.
LoggingEvent - Class in org.apache.log4j.spi
No-op version of Log4j 1.2 LoggingEvent.
LoggingEvent() - Constructor for class org.apache.log4j.spi.LoggingEvent
 
LogManager - Class in org.apache.log4j
Manager for reusable logger instances.
LogManager() - Constructor for class org.apache.log4j.LogManager
 

M

makeNewLoggerInstance(String) - Method in interface org.apache.log4j.spi.LoggerFactory
Create a new logger instance.
MDC - Class in org.apache.log4j
The MDC class is similar to the NDC class except that it is based on a map instead of a stack.

N

NDC - Class in org.apache.log4j
The NDC class implements nested diagnostic contexts as defined by Neil Harrison in the article "Patterns for Logging Diagnostic Messages" part of the book "Pattern Languages of Program Design 3" edited by Martin et al.

O

OFF - Static variable in class org.apache.log4j.Level
The OFF has the highest possible rank and is intended to turn off logging.
OFF_INT - Static variable in class org.apache.log4j.Priority
The OFF has the highest possible rank and is intended to turn off logging.
org.apache.log4j - package org.apache.log4j
Logging API of Apache Log4j 1.2 for tinylog 2.
org.apache.log4j.spi - package org.apache.log4j.spi
Additional interfaces and classes of Apache Log4j 1.2 for tinylog 2.

P

peek() - Static method in class org.apache.log4j.NDC
Looks at the last diagnostic context at the top of this NDC without removing it.
pop() - Static method in class org.apache.log4j.NDC
Clients should call this method before leaving a diagnostic context.
Priority - Class in org.apache.log4j
Refrain from using this class directly, use the Level class instead.
Priority() - Constructor for class org.apache.log4j.Priority
Default constructor for deserialization.
Priority(int, String, int) - Constructor for class org.apache.log4j.Priority
Instantiate a level object.
provider - Static variable in class org.apache.log4j.Category
 
push(String) - Static method in class org.apache.log4j.NDC
Push new diagnostic context information for the current thread.
put(String, Object) - Static method in class org.apache.log4j.MDC
Put a context value (the o parameter) as identified with the key parameter into the current thread's context map.

R

readResolve() - Method in class org.apache.log4j.Level
Resolved deserialized level to one of the stock instances.
remove(String) - Static method in class org.apache.log4j.MDC
Remove the the context identified by the key parameter.
remove() - Static method in class org.apache.log4j.NDC
Remove the diagnostic context for this thread.
removeAllAppenders() - Method in class org.apache.log4j.Category
Remove all previously added appenders from this Category instance.
removeAllAppenders() - Method in interface org.apache.log4j.spi.AppenderAttachable
Remove all previously added appenders.
removeAppender(Appender) - Method in class org.apache.log4j.Category
Remove the appender passed as parameter form the list of appenders.
removeAppender(String) - Method in class org.apache.log4j.Category
Remove the appender with the name passed as parameter form the list of appenders.
removeAppender(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
Remove the appender passed as parameter from the list of appenders.
removeAppender(String) - Method in interface org.apache.log4j.spi.AppenderAttachable
Remove the appender with the name passed as parameter from the list of appenders.
resetConfiguration() - Static method in class org.apache.log4j.LogManager
Asks to reset the logging configuration (will be ignored).

S

setAdditivity(boolean) - Method in class org.apache.log4j.Category
Set the additivity flag for this Category instance.
setLevel(Level) - Method in class org.apache.log4j.Category
Set the level of this Category.
setMaxDepth(int) - Static method in class org.apache.log4j.NDC
Set maximum depth of this diagnostic context.
setPriority(Priority) - Method in class org.apache.log4j.Category
Deprecated.
setResourceBundle(ResourceBundle) - Method in class org.apache.log4j.Category
Set the resource bundle to be used with localized logging methods Category.l7dlog(Priority,String,Throwable) and Category.l7dlog(Priority,String,Object[],Throwable).
shutdown() - Static method in class org.apache.log4j.Category
Deprecated.
Please use LogManager.shutdown() instead.
shutdown() - Static method in class org.apache.log4j.LogManager
Asks to shutdown the logging framework down (will be ignored).
STACKTRACE_DEPTH - Static variable in class org.apache.log4j.Category
 

T

toInt() - Method in class org.apache.log4j.Priority
Returns the integer representation of this level.
toLevel(String) - Static method in class org.apache.log4j.Level
Convert the string passed as argument to a level.
toLevel(int) - Static method in class org.apache.log4j.Level
Convert an integer passed as argument to a level.
toLevel(int, Level) - Static method in class org.apache.log4j.Level
Convert an integer passed as argument to a level.
toLevel(String, Level) - Static method in class org.apache.log4j.Level
Convert the string passed as argument to a level.
toPriority(String) - Static method in class org.apache.log4j.Priority
Deprecated.
Please use the Level.toLevel(String) method instead.
toPriority(int) - Static method in class org.apache.log4j.Priority
Deprecated.
Please use the Level.toLevel(int) method instead.
toPriority(int, Priority) - Static method in class org.apache.log4j.Priority
Deprecated.
Please use the Level.toLevel(int, Level) method instead.
toPriority(String, Priority) - Static method in class org.apache.log4j.Priority
Deprecated.
Please use the Level.toLevel(String, Level) method instead.
toString() - Method in class org.apache.log4j.Priority
Returns the string representation of this priority.
TRACE - Static variable in class org.apache.log4j.Level
The TRACE Level designates finer-grained informational events than the DEBUG level.
trace(Object) - Method in class org.apache.log4j.Logger
Log a message object with the TRACE level.
trace(Object, Throwable) - Method in class org.apache.log4j.Logger
Log a message object with the TRACE level including the stack trace of the Throwablet passed as parameter.
TRACE_INT - Static variable in class org.apache.log4j.Level
TRACE level integer value.

W

warn(Object) - Method in class org.apache.log4j.Category
Log a message object with the WARN Level.
warn(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message with the WARN level including the stack trace of the Throwable t passed as parameter.
WARN - Static variable in class org.apache.log4j.Level
The WARN level designates potentially harmful situations.
WARN - Static variable in class org.apache.log4j.Priority
Deprecated.
Use Level.WARN instead.
WARN_INT - Static variable in class org.apache.log4j.Priority
The WARN level designates potentially harmful situations.
A C D E F G H I L M N O P R S T W 

Copyright © 2020. All rights reserved.