Index

A B C E F G L M N P R T 
All Classes and Interfaces|All Packages|Constant Field Values

A

append(LogEvent) - Method in class nva.commons.logutils.TestAppender
Deprecated.
Append log to StringBuilder.
APPENDER_NAME - Static variable in class nva.commons.logutils.TestAppender
Deprecated.
 
asString() - Method in class nva.commons.logutils.LogRecorder
Space-joined rendering of all captured messages.

B

build() - Method in class nva.commons.logutils.TestAppender.Builder
Deprecated.
creates a new TestAppender.
Builder() - Constructor for class nva.commons.logutils.TestAppender.Builder
Deprecated.
 

C

clear() - Method in class nva.commons.logutils.LogRecorder
Discard all captured events.

E

events() - Method in class nva.commons.logutils.LogRecorder
All captured log events, in the order they were emitted.

F

forClass(Class<?>) - Static method in class nva.commons.logutils.LogRecorder
Start a recorder on the logger for the given class.
forRoot(Class<?>) - Static method in class nva.commons.logutils.LogRecorder
Start a recorder on the root logger.

G

getMessages() - Method in class nva.commons.logutils.TestAppender
Deprecated.
Get the log messages.
getTestingAppender(Class<T>) - Static method in class nva.commons.logutils.LogUtils
Deprecated.
getTestingAppenderForRootLogger() - Static method in class nva.commons.logutils.LogUtils
Deprecated.

L

LOG_CLASS_NAME_AND_MESSAGE - Static variable in class nva.commons.logutils.LogUtils
Deprecated.
 
LogRecorder - Class in nva.commons.logutils
Records log events emitted during a test.
LogUtils - Class in nva.commons.logutils
Deprecated.
Use LogRecorder instead. It captures events without reconfiguring the global Log4j context, returns structured LogEvents, and avoids side effects on unrelated loggers.

M

messages() - Method in class nva.commons.logutils.LogRecorder
Formatted messages of all captured events, in the order they were emitted.

N

newBuilder() - Static method in class nva.commons.logutils.TestAppender
Deprecated.
Method used by log4j2 to access this appender.
nva.commons.logutils - package nva.commons.logutils
 

P

PACKAGES_WITH_APPENDERS - Static variable in class nva.commons.logutils.LogUtils
Deprecated.
 
PATTERN_ATTRIBUTE_NAME - Static variable in class nva.commons.logutils.LogUtils
Deprecated.
 
PLUGIN_NAME - Static variable in class nva.commons.logutils.TestAppender
Deprecated.
 

R

ROOT_NULL_APPENDER - Static variable in class nva.commons.logutils.LogUtils
Deprecated.
 

T

TestAppender - Class in nva.commons.logutils
Deprecated.
Use LogRecorder together with Log4j's ListAppender instead.
TestAppender(String, Filter, Layout<? extends Serializable>, boolean) - Constructor for class nva.commons.logutils.TestAppender
Deprecated.
Constructor method following AbstractAppender convention.
TestAppender.Builder<B> - Class in nva.commons.logutils
Deprecated.
Builder class that follows log4j2 plugin convention.
toLoggerName(Class<?>) - Static method in class nva.commons.logutils.LogUtils
Deprecated.
From LogManager.getLogger()
A B C E F G L M N P R T 
All Classes and Interfaces|All Packages|Constant Field Values