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 Summary
Modifier and TypeMethodDescriptionvoidwriteConfigInUABLog(String message) Write a CONFIG message in UAB Log window.voidwriteDebugInUABLog(String message) Write a DEBUG message in UAB Log window.voidwriteErrorInUABLog(String message) Write a SEVERE message in UAB Log window.voidwriteErrorWithStackTrace(String message, Throwable e) Used to write an ERROR message in UAB Log window and the stack trace that caused the error.voidwriteFineInUABLog(String message) Write a FINE message in UAB Log window.voidwriteInfoInUABLog(String message) Used to write an INFO message in UAB Log window.voidwriteInUABLog(Level theLevel, String message, research.ch.cern.unicos.userreport.UserReportGenerator.type theType) Used to write a message in UAB Log windowvoidwriteWarningInUABLog(String message) Used to write a WARNING message in UAB Log window.
-
Method Details
-
writeConfigInUABLog
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
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
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
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 writtene- Exception that caused the error
-
writeFineInUABLog
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
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
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 writtentheType-
-