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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.github.git_leon.logging.SimpleLoggerInterface

    error, info, throwable, warn
  • 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 interface com.github.git_leon.logging.SimpleLoggerInterface
    • enable

      public void enable()
      Specified by:
      enable in interface com.github.git_leon.logging.SimpleLoggerInterface
    • disble

      public void disble()
      Specified by:
      disble in interface com.github.git_leon.logging.SimpleLoggerInterface
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface com.github.git_leon.logging.SimpleLoggerInterface
    • throwable

      public void throwable​(java.lang.Throwable t, java.util.logging.Level level)
      Specified by:
      throwable in interface com.github.git_leon.logging.SimpleLoggerInterface
    • getExtentTest

      public com.aventstack.extentreports.ExtentTest getExtentTest()
    • getExtentReports

      public com.aventstack.extentreports.ExtentReports getExtentReports()