Interface ILogWriterTemplate


public interface ILogWriterTemplate
Interface containing the methods that can be used from the Jython templates to write in the user report window.
Author:
Ivan Prieto Barreiro
  • Method Details

    • writeConfigInUABLog

      void writeConfigInUABLog(String message)
      Write a CONFIG message in UAB Log window.

      Example:

       thePlugin.writeConfigInUABLog("This is a config message")
       

      Parameters:
      message - The message to be written in the log window.
    • writeDebugInUABLog

      void writeDebugInUABLog(String message)
      Write a DEBUG message in UAB Log window.

      Example:

       thePlugin.writeDebugInUABLog("This is a debug message")
       

      Parameters:
      message - The message to be written in the log window.
    • writeErrorInUABLog

      void writeErrorInUABLog(String message)
      Write a SEVERE message in UAB Log window. If one or more error messages are written during the generation the exit status of the generation will be FAILURE.

      Example:

       thePlugin.writeErrorInUABLog("This is an error message")
       

      Parameters:
      message - The message to be written in the log window.
    • writeErrorWithStackTrace

      void writeErrorWithStackTrace(String message, Throwable e)
      Used to write an ERROR message in UAB Log window and the stack trace that caused the error.
      Parameters:
      message - is the message to be written
      e - Exception that caused the error
    • writeFineInUABLog

      void writeFineInUABLog(String message)
      Write a FINE message in UAB Log window.

      Example:

       thePlugin.writeFineInUABLog("This is an fine message")
       

      Parameters:
      message - The message to be written in the log window.
    • writeInfoInUABLog

      void writeInfoInUABLog(String message)
      Used to write an INFO message in UAB Log window.

      Example:

       thePlugin.writeInfoInUABLog("This is an info message")
       

      Parameters:
      message - The message to be written in the log window.
    • writeWarningInUABLog

      void writeWarningInUABLog(String message)
      Used to write a WARNING message in UAB Log window.

      Example:

       thePlugin.writeWarningInUABLog("This is a warning message")
       

      Parameters:
      message - The message to be written in the log window.
    • writeInUABLog

      void writeInUABLog(Level theLevel, String message, research.ch.cern.unicos.userreport.UserReportGenerator.type theType)
      Used to write a message in UAB Log window
      Parameters:
      theLevel -
      message - is the message to be written
      theType -