Index

A B C D E F G H I L M N O P R S T W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

activateOptions() - Method in class org.apache.log4j.AppenderSkeleton
 
activateOptions() - Method in interface org.apache.log4j.spi.OptionHandler
 
addAppender(Appender) - Method in class org.apache.log4j.Category
 
addAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
 
addFilter(Filter) - Method in interface org.apache.log4j.Appender
Add a filter to the end of the filter list.
addHierarchyEventListener(HierarchyEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Add a HierarchyEventListener event to the repository.
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
 
Appender - Interface in org.apache.log4j
Implement this interface for your own strategies for outputting log statements.
AppenderSkeleton - Class in org.apache.log4j
 
AppenderSkeleton() - Constructor for class org.apache.log4j.AppenderSkeleton
 
assertLog(boolean, String) - Method in class org.apache.log4j.Category
 

B

BasicConfigurator - Class in org.apache.log4j
A minimal (nop) implementation of BasicConfigurator.
BasicConfigurator() - Constructor for class org.apache.log4j.BasicConfigurator
 

C

Category - Class in org.apache.log4j
This class is a minimal implementation of the original org.apache.log4j.Category class (as found in log4j 1.2) by delegation of all calls to a Logger instance.
clear() - Static method in class org.apache.log4j.MDC
 
clear() - Static method in class org.apache.log4j.NDC
 
clearFilters() - Method in interface org.apache.log4j.Appender
Clear the list of filters by removing all the filters in it.
cloneStack() - Static method in class org.apache.log4j.NDC
 
close() - Method in interface org.apache.log4j.Appender
Release any resources allocated within the appender such as file handles, network connections, etc.
CONFIG_DEBUG_KEY - Static variable in class org.apache.log4j.helpers.LogLog
Deprecated.
Use LogLog.DEBUG_KEY instead.
Configurator - Interface in org.apache.log4j.spi
Implemented by classes capable of configuring log4j using a URL.
configure() - Static method in class org.apache.log4j.BasicConfigurator
 
configure(String) - Static method in class org.apache.log4j.PropertyConfigurator
 
configure(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
configure(URL) - Static method in class org.apache.log4j.PropertyConfigurator
 
configure(URL) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
configure(Properties) - Static method in class org.apache.log4j.PropertyConfigurator
 
configure(Appender) - Static method in class org.apache.log4j.BasicConfigurator
 
configure(Element) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
configureAndWatch(String) - Static method in class org.apache.log4j.PropertyConfigurator
 
configureAndWatch(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
configureAndWatch(String, long) - Static method in class org.apache.log4j.PropertyConfigurator
 
configureAndWatch(String, long) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
ConsoleAppender - Class in org.apache.log4j
Skeleton implementation of ConsoleAppender
ConsoleAppender() - Constructor for class org.apache.log4j.ConsoleAppender
 
ConsoleAppender(Layout) - Constructor for class org.apache.log4j.ConsoleAppender
 
ConsoleAppender(Layout, String) - Constructor for class org.apache.log4j.ConsoleAppender
 
convertToString(Object) - Method in class org.apache.log4j.Category
 

D

debug(Object) - Method in class org.apache.log4j.Category
Delegates to Logger.debug(String) method of SLF4J.
debug(Object, Throwable) - Method in class org.apache.log4j.Category
Delegates to Logger.debug(String,Throwable) method in SLF4J.
debug(String) - Static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal debug statements.
debug(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal debug statements.
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
 
DEBUG_KEY - Static variable in class org.apache.log4j.helpers.LogLog
Defining this value makes log4j print log4j-internal debug statements to System.out.
debugEnabled - Static variable in class org.apache.log4j.helpers.LogLog
 
doAppend(LoggingEvent) - Method in interface org.apache.log4j.Appender
Log in Appender specific way.
doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
 
doConfigure(Reader, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
 
doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
 
doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
 
doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
 
doConfigure(URL, LoggerRepository) - Method in interface org.apache.log4j.spi.Configurator
Interpret a resource pointed by a URL and set up log4j accordingly.
doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
 
doConfigure(Properties, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
 
doConfigure(Element, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
 
DOMConfigurator - Class in org.apache.log4j.xml
 
DOMConfigurator() - Constructor for class org.apache.log4j.xml.DOMConfigurator
 

E

emitNoAppenderWarning(Category) - Method in interface org.apache.log4j.spi.LoggerRepository
 
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
Delegates to Logger.error(String) method in SLF4J.
error(Object, Throwable) - Method in class org.apache.log4j.Category
Delegates to Logger.error(String,Throwable) method in SLF4J.
error(String) - Static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal error statements.
error(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal error statements.
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
 
ErrorHandler - Class in org.apache.log4j.spi
Created by IntelliJ IDEA.
ErrorHandler() - Constructor for class org.apache.log4j.spi.ErrorHandler
 
exists(String) - Method in interface org.apache.log4j.spi.LoggerRepository
 

F

fatal(Object) - Method in class org.apache.log4j.Category
Delegates to Logger.error(String) method in SLF4J.
fatal(Object, Throwable) - Method in class org.apache.log4j.Category
Delegates to Logger.error(String,Throwable) method in SLF4J.
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
 
FileAppender - Class in org.apache.log4j
 
FileAppender() - Constructor for class org.apache.log4j.FileAppender
 
FileAppender(Layout, String) - Constructor for class org.apache.log4j.FileAppender
 
FileAppender(Layout, String, boolean) - Constructor for class org.apache.log4j.FileAppender
 
FileAppender(Layout, String, boolean, boolean, int) - Constructor for class org.apache.log4j.FileAppender
 
Filter - Class in org.apache.log4j.spi
 
Filter() - Constructor for class org.apache.log4j.spi.Filter
 
fireAddAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.LoggerRepository
 
forcedLog(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
 

G

get() - Static method in class org.apache.log4j.NDC
 
get(String) - Static method in class org.apache.log4j.MDC
 
getAdditivity() - Method in class org.apache.log4j.Category
 
getAllAppenders() - Method in class org.apache.log4j.Category
 
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
 
getContext() - Static method in class org.apache.log4j.MDC
Deprecated.
getCurrentCategories() - Method in interface org.apache.log4j.spi.LoggerRepository
Deprecated.
getCurrentLoggers() - Static method in class org.apache.log4j.LogManager
This bogus implementation returns an empty enumeration.
getCurrentLoggers() - Method in interface org.apache.log4j.spi.LoggerRepository
 
getDepth() - Static method in class org.apache.log4j.NDC
 
getEffectiveLevel() - Method in class org.apache.log4j.Category
Return the level in effect for this category/logger.
getErrorHandler() - Method in interface org.apache.log4j.Appender
Returns the ErrorHandler for this appender.
getFilter() - Method in interface org.apache.log4j.Appender
Returns the head Filter.
getInstance() - Static method in class org.apache.log4j.helpers.NullEnumeration
 
getInstance(Class) - Static method in class org.apache.log4j.Category
 
getInstance(String) - Static method in class org.apache.log4j.Category
 
getLayout() - Method in interface org.apache.log4j.Appender
Returns this appenders layout.
getLevel() - Method in class org.apache.log4j.Category
Returns the assigned Level, if any, for this Category.
getLogger(Class) - Static method in class org.apache.log4j.Logger
 
getLogger(Class) - Static method in class org.apache.log4j.LogManager
 
getLogger(String) - Static method in class org.apache.log4j.Logger
 
getLogger(String) - Static method in class org.apache.log4j.LogManager
 
getLogger(String) - Method in interface org.apache.log4j.spi.LoggerRepository
 
getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.Logger
 
getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.LogManager
Returns a logger instance created by loggerFactory.
getLogger(String, LoggerFactory) - Method in interface org.apache.log4j.spi.LoggerRepository
 
getName() - Method in interface org.apache.log4j.Appender
Get the name of this appender.
getName() - Method in class org.apache.log4j.Category
Returns the obvious.
getParent() - Method in class org.apache.log4j.Category
 
getPriority() - Method in class org.apache.log4j.Category
Deprecated.
Please use Category.getLevel() instead.
getRootLogger() - Static method in class org.apache.log4j.Logger
Does the obvious.
getRootLogger() - Static method in class org.apache.log4j.LogManager
 
getRootLogger() - Method in interface org.apache.log4j.spi.LoggerRepository
 
getSyslogEquivalent() - Method in class org.apache.log4j.Priority
Return the syslog equivalent of this priority as an integer.
getThreshold() - Method in interface org.apache.log4j.spi.LoggerRepository
Get the repository-wide threshold.

H

hasMoreElements() - Method in class org.apache.log4j.helpers.NullEnumeration
 
HierarchyEventListener - Interface in org.apache.log4j.spi
Listen to events occurring within a
invalid @link
Hierarchy
.

I

info(Object) - Method in class org.apache.log4j.Category
Delegates to Logger.info(String) method in SLF4J.
info(Object, Throwable) - Method in class org.apache.log4j.Category
Delegates to Logger.info(String,Throwable) method in SLF4J.
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
 
inherit(Stack) - Static method in class org.apache.log4j.NDC
 
INHERITED - Static variable in interface org.apache.log4j.spi.Configurator
Special level value signifying inherited behaviour.
isDebugEnabled() - Method in class org.apache.log4j.Category
Delegates to Logger.isDebugEnabled() method in SLF4J
isDisabled(int) - Method in interface org.apache.log4j.spi.LoggerRepository
Returns whether this repository is disabled for a given level.
isEnabledFor(Priority) - Method in class org.apache.log4j.Category
Determines whether the priority passed as parameter is enabled in the underlying SLF4J logger.
isErrorEnabled() - Method in class org.apache.log4j.Category
Delegates to Logger.isErrorEnabled() method in SLF4J
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
Delegates to Logger.isInfoEnabled() method in SLF4J
isTraceEnabled() - Method in class org.apache.log4j.Logger
Delegates to Logger.isTraceEnabled() method of SLF4J.
isWarnEnabled() - Method in class org.apache.log4j.Category
Delegates to Logger.isWarnEnabled() method in SLF4J

L

Layout - Class in org.apache.log4j
This class is a minimal implementation of the original Log4J class.
Layout() - Constructor for class org.apache.log4j.Layout
 
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(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
 
log(Priority, Object) - Method in class org.apache.log4j.Category
 
log(Priority, Object, Throwable) - Method in class org.apache.log4j.Category
 
Logger - Class in org.apache.log4j
This class is a minimal implementation of the original org.apache.log4j.Logger class (as found in log4j 1.2) delegating all calls to a Logger instance.
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 subclass of Logger.
LoggerRepository - Interface in org.apache.log4j.spi
A LoggerRepository is used to create and retrieve Loggers.
LoggingEvent - Class in org.apache.log4j.spi
 
LoggingEvent() - Constructor for class org.apache.log4j.spi.LoggingEvent
 
LogLog - Class in org.apache.log4j.helpers
This class used to output log statements from within the log4j package.
LogLog() - Constructor for class org.apache.log4j.helpers.LogLog
 
LogManager - Class in org.apache.log4j
This class is a minimal implementation of the original org.apache.log4j.LogManager class (as found in log4j 1.2) delegating all calls to SLF4J.
LogManager() - Constructor for class org.apache.log4j.LogManager
 

M

makeNewLoggerInstance(String) - Method in interface org.apache.log4j.spi.LoggerFactory
 
MDC - Class in org.apache.log4j
 
MDC() - Constructor for class org.apache.log4j.MDC
 

N

NDC - Class in org.apache.log4j
A log4j's NDC implemented in terms of SLF4J MDC primitives.
NDC() - Constructor for class org.apache.log4j.NDC
 
nextElement() - Method in class org.apache.log4j.helpers.NullEnumeration
 
NULL - Static variable in interface org.apache.log4j.spi.Configurator
Special level signifying inherited behaviour, same as Configurator.INHERITED.
NullEnumeration - Class in org.apache.log4j.helpers
An always-empty Enumerator.

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
 
OptionHandler - Interface in org.apache.log4j.spi
 
org.apache.log4j - package org.apache.log4j
An rather minimal but sufficient implementation redirecting all calls to a log4j logger to a logback logger.
org.apache.log4j.helpers - package org.apache.log4j.helpers
 
org.apache.log4j.spi - package org.apache.log4j.spi
 
org.apache.log4j.xml - package org.apache.log4j.xml
 

P

PatternLayout - Class in org.apache.log4j
This class is a minimal implementation of the original Log4J class.
PatternLayout() - Constructor for class org.apache.log4j.PatternLayout
 
PatternLayout(String) - Constructor for class org.apache.log4j.PatternLayout
 
peek() - Static method in class org.apache.log4j.NDC
 
pop() - Static method in class org.apache.log4j.NDC
 
PREFIX - Static variable in class org.apache.log4j.NDC
 
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.
PropertyConfigurator - Class in org.apache.log4j
A no-op implementation of PropertyConfigurator.
PropertyConfigurator() - Constructor for class org.apache.log4j.PropertyConfigurator
 
push(String) - Static method in class org.apache.log4j.NDC
 
put(String, Object) - Static method in class org.apache.log4j.MDC
 
put(String, String) - Static method in class org.apache.log4j.MDC
 

R

remove() - Static method in class org.apache.log4j.NDC
 
remove(String) - Static method in class org.apache.log4j.MDC
 
removeAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
 
requiresLayout() - Method in interface org.apache.log4j.Appender
Configurators call this method to determine if the appender requires a layout.
resetConfiguration() - Static method in class org.apache.log4j.BasicConfigurator
 
resetConfiguration() - Static method in class org.apache.log4j.LogManager
Implemented as NOP.
resetConfiguration() - Method in interface org.apache.log4j.spi.LoggerRepository
 
RollingFileAppender - Class in org.apache.log4j
This class is a minimal implementation of the original Log4J class.
RollingFileAppender() - Constructor for class org.apache.log4j.RollingFileAppender
 
RollingFileAppender(Layout, String) - Constructor for class org.apache.log4j.RollingFileAppender
 
RollingFileAppender(Layout, String, boolean) - Constructor for class org.apache.log4j.RollingFileAppender
 

S

setAdditivity(boolean) - Method in class org.apache.log4j.Category
 
setErrorHandler(ErrorHandler) - Method in interface org.apache.log4j.Appender
Set the ErrorHandler for this appender.
setInternalDebugging(boolean) - Static method in class org.apache.log4j.helpers.LogLog
Allows to enable/disable log4j internal logging.
setLayout(Layout) - Method in interface org.apache.log4j.Appender
Set the Layout for this appender.
setLayout(Layout) - Method in class org.apache.log4j.AppenderSkeleton
 
setLevel(Level) - Method in class org.apache.log4j.Category
 
setMaxBackupIndex(int) - Method in class org.apache.log4j.RollingFileAppender
 
setMaxDepth(int) - Static method in class org.apache.log4j.NDC
 
setMaximumFileSize(long) - Method in class org.apache.log4j.RollingFileAppender
 
setName(String) - Method in interface org.apache.log4j.Appender
Set the name of this appender.
setName(String) - Method in class org.apache.log4j.AppenderSkeleton
 
setQuietMode(boolean) - Static method in class org.apache.log4j.helpers.LogLog
In quite mode no LogLog generates strictly no output, not even for errors.
setThreshold(String) - Method in interface org.apache.log4j.spi.LoggerRepository
Another form of LoggerRepository.setThreshold(Level) accepting a string parameter instead of a Level.
setThreshold(Level) - Method in interface org.apache.log4j.spi.LoggerRepository
Set the repository-wide threshold.
setThreshold(Priority) - Method in class org.apache.log4j.AppenderSkeleton
 
shutdown() - Static method in class org.apache.log4j.LogManager
Implemented as NOP.
shutdown() - Method in interface org.apache.log4j.spi.LoggerRepository
 
SimpleLayout - Class in org.apache.log4j
 
SimpleLayout() - Constructor for class org.apache.log4j.SimpleLayout
 
slf4jLogger - Variable in class org.apache.log4j.Category
 
subst(String, Properties) - Static method in class org.apache.log4j.xml.DOMConfigurator
 

T

toInt() - Method in class org.apache.log4j.Priority
Returns the integer representation of this 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) - Static method in class org.apache.log4j.Level
Convert the string 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(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) - Static method in class org.apache.log4j.Priority
Deprecated.
Please use the Level.toLevel(String) 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(Object) - Method in class org.apache.log4j.Logger
Delegates to Logger.trace(String) method in SLF4J.
trace(Object, Throwable) - Method in class org.apache.log4j.Logger
Delegates to Logger.trace(String,Throwable) method in SLF4J.
TRACE - Static variable in class org.apache.log4j.Level
The TRACE Level designates finer-grained informational events than the DEBUG level.
TRACE_INT - Static variable in class org.apache.log4j.Level
TRACE level integer value.

W

warn(Object) - Method in class org.apache.log4j.Category
Delegates to Logger.warn(String) method in SLF4J.
warn(Object, Throwable) - Method in class org.apache.log4j.Category
Delegates to Logger.warn(String,Throwable) method in SLF4J.
warn(String) - Static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal warning statements.
warn(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal warnings.
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
 
WriterAppender - Class in org.apache.log4j
 
WriterAppender() - Constructor for class org.apache.log4j.WriterAppender
 

X

X_TRACE_INT - Static variable in class org.apache.log4j.Level
 
A B C D E F G H I L M N O P R S T W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form