Class CaptureLogs8
- java.lang.Object
-
- com.identityworksllc.iiq.common.logging.CaptureLogs8
-
- All Implemented Interfaces:
CaptureLogs
public class CaptureLogs8 extends Object implements CaptureLogs
Capture logs in IIQ 8, which uses Log4J 2.x.That version has entirely different Logger semantics, requiring separate code.
-
-
Constructor Summary
Constructors Constructor Description CaptureLogs8()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
capture(String... names)
Capture a specific set of loggersstatic void
captureLogger(String loggerName)
Captures the logger with the given namevoid
captureMost()
Capture the most interesting loggers
-
-
-
Constructor Detail
-
CaptureLogs8
public CaptureLogs8()
-
-
Method Detail
-
captureMost
public void captureMost()
Description copied from interface:CaptureLogs
Capture the most interesting loggers- Specified by:
captureMost
in interfaceCaptureLogs
-
capture
public void capture(String... names)
Description copied from interface:CaptureLogs
Capture a specific set of loggers- Specified by:
capture
in interfaceCaptureLogs
- Parameters:
names
- The names of the loggers to capture
-
captureLogger
public static void captureLogger(String loggerName)
Captures the logger with the given name- Parameters:
loggerName
- The logger
-
-