Index

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

A

append(LogEvent) - Method in class nva.commons.logutils.TestAppender
Append log to StringBuilder.
APPENDER_NAME - Static variable in class nva.commons.logutils.TestAppender
 

B

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

G

getMessages() - Method in class nva.commons.logutils.TestAppender
Get the log messages.
getTestingAppender(Class<T>) - Static method in class nva.commons.logutils.LogUtils
This method should ALWAYS be called before the creation of the object you want to test.
getTestingAppenderForRootLogger() - Static method in class nva.commons.logutils.LogUtils
This method should ALWAYS be called before the creation of the object you want to test.

L

LOG_CLASS_NAME_AND_MESSAGE - Static variable in class nva.commons.logutils.LogUtils
 
LogUtils - Class in nva.commons.logutils
Methods for testing logging when using Log4j2 as logging platform.

N

newBuilder() - Static method in class nva.commons.logutils.TestAppender
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
 
PATTERN_ATTRIBUTE_NAME - Static variable in class nva.commons.logutils.LogUtils
 
PLUGIN_NAME - Static variable in class nva.commons.logutils.TestAppender
 

R

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

T

TestAppender - Class in nva.commons.logutils
 
TestAppender(String, Filter, Layout<? extends Serializable>, boolean) - Constructor for class nva.commons.logutils.TestAppender
Constructor method following AbstractAppender convention.
TestAppender.Builder<B extends TestAppender.Builder<B>> - Class in nva.commons.logutils
Builder class that follows log4j2 plugin convention.
toLoggerName(Class<?>) - Static method in class nva.commons.logutils.LogUtils
From LogManager.getLogger()
A B G L N P R T 
All Classes and Interfaces|All Packages|Constant Field Values