Class 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 Detail

      • 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 Detail

      • 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.