Class LogFileWriter

java.lang.Object
de.qytera.qtaf.core.log.service.LogFileWriter

public class LogFileWriter extends Object
Class for writing log file
  • Constructor Details

    • LogFileWriter

      public LogFileWriter()
  • Method Details

    • persistLogs

      public static String persistLogs(TestSuiteLogCollection collection)
      Persist logs to local disk
      Parameters:
      collection - log collection
      Returns:
      path to log file if it was created successfully
    • persistErrorLogs

      public static String persistErrorLogs(ErrorLogCollection collection)
      Create a error log file
      Parameters:
      collection - error logs
      Returns:
      Path where error logs are stored