Package org.apache.struts.util
Class TestServiceProvider
java.lang.Object
org.apache.struts.util.TestServiceProvider
- All Implemented Interfaces:
SLF4JServiceProvider
Implements the
SLF4JServiceProvider
to work with
TestLogger
during the test-phase.- Since:
- Struts 1.4.2
- Author:
- Stefan Graff
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
Declare the version of the SLF4J API this implementation is compiled against. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Field Details
-
REQUESTED_API_VERSION
Declare the version of the SLF4J API this implementation is compiled against. The value of this field is modified with each major release.
-
-
Constructor Details
-
TestServiceProvider
public TestServiceProvider()
-
-
Method Details
-
getLoggerFactory
- Specified by:
getLoggerFactory
in interfaceSLF4JServiceProvider
-
getMarkerFactory
- Specified by:
getMarkerFactory
in interfaceSLF4JServiceProvider
-
getMDCAdapter
- Specified by:
getMDCAdapter
in interfaceSLF4JServiceProvider
-
getRequestedApiVersion
- Specified by:
getRequestedApiVersion
in interfaceSLF4JServiceProvider
-
initialize
public void initialize()- Specified by:
initialize
in interfaceSLF4JServiceProvider
-