Class PerfectoLogObserver

java.lang.Object
co.verisoft.fw.report.observer.BaseObserver
co.verisoft.fw.selenium.observers.PerfectoLogObserver
All Implemented Interfaces:
co.verisoft.fw.report.observer.Observer

public class PerfectoLogObserver extends co.verisoft.fw.report.observer.BaseObserver
The `PerfectoLogObserver` class is a custom observer for reporting in a testing framework. It extends the `BaseObserver` class and is designed to work with Perfecto reporting. This class allows you to control the minimum report level that should be logged.
Since:
10.23
Author:
Gili Eliach
  • Constructor Summary

    Constructors
    Constructor
    Description
    PerfectoLogObserver(co.verisoft.fw.report.observer.ReportLevel minReportLevel)
    Constructs a new `PerfectoLogObserver` with the specified minimum report level.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    update(co.verisoft.fw.report.observer.ReportEntry reportEntry)
    This method is called when a report entry is observed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PerfectoLogObserver

      public PerfectoLogObserver(co.verisoft.fw.report.observer.ReportLevel minReportLevel)
      Constructs a new `PerfectoLogObserver` with the specified minimum report level.
      Parameters:
      minReportLevel - The minimum report level to log.
  • Method Details

    • update

      public void update(co.verisoft.fw.report.observer.ReportEntry reportEntry)
      This method is called when a report entry is observed. It determines whether the report entry should be logged and at what level.
      Parameters:
      reportEntry - The report entry to be observed.