Class ExtentTestLogger
java.lang.Object
com.github.git_leon.extentreporting.ExtentTestLogger
- All Implemented Interfaces:
com.github.git_leon.logging.SimpleLoggerInterface
public class ExtentTestLogger
extends java.lang.Object
implements com.github.git_leon.logging.SimpleLoggerInterface
-
Constructor Summary
Constructors Constructor Description ExtentTestLogger(com.aventstack.extentreports.ExtentReports extentReports, java.lang.String testName, java.lang.String description)
-
Method Summary
Modifier and Type Method Description void
disble()
void
enable()
com.aventstack.extentreports.ExtentReports
getExtentReports()
com.aventstack.extentreports.ExtentTest
getExtentTest()
boolean
isEnabled()
void
log(java.util.logging.Level level, java.lang.String logMessage, java.lang.Object... logMessageArgs)
void
throwable(java.lang.Throwable t, java.util.logging.Level level)
-
Constructor Details
-
ExtentTestLogger
public ExtentTestLogger(com.aventstack.extentreports.ExtentReports extentReports, java.lang.String testName, java.lang.String description)
-
-
Method Details
-
log
public void log(java.util.logging.Level level, java.lang.String logMessage, java.lang.Object... logMessageArgs)- Specified by:
log
in interfacecom.github.git_leon.logging.SimpleLoggerInterface
-
enable
public void enable()- Specified by:
enable
in interfacecom.github.git_leon.logging.SimpleLoggerInterface
-
disble
public void disble()- Specified by:
disble
in interfacecom.github.git_leon.logging.SimpleLoggerInterface
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfacecom.github.git_leon.logging.SimpleLoggerInterface
-
throwable
public void throwable(java.lang.Throwable t, java.util.logging.Level level)- Specified by:
throwable
in interfacecom.github.git_leon.logging.SimpleLoggerInterface
-
getExtentTest
public com.aventstack.extentreports.ExtentTest getExtentTest() -
getExtentReports
public com.aventstack.extentreports.ExtentReports getExtentReports()
-