Package com.logicaldoc.core.automation
Class LogTool
- java.lang.Object
-
- com.logicaldoc.core.automation.LogTool
-
public class LogTool extends Object
Simple utility class to give access to the system's log from within the Automation- Since:
- 7.5.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description LogTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(String message)
Writes in the system log with DEBUG priorityvoid
error(String message)
Writes in the system log with ERROR priorityvoid
info(String message)
Writes in the system log with INFO priorityvoid
print(String message)
Prints in the system outputvoid
warn(String message)
Writes in the system log with WARN priority
-
-
-
Method Detail
-
print
public void print(String message)
Prints in the system output- Parameters:
message
- the message to print
-
debug
public void debug(String message)
Writes in the system log with DEBUG priority- Parameters:
message
- the message to print
-
info
public void info(String message)
Writes in the system log with INFO priority- Parameters:
message
- the message to print
-
warn
public void warn(String message)
Writes in the system log with WARN priority- Parameters:
message
- the message to print
-
error
public void error(String message)
Writes in the system log with ERROR priority- Parameters:
message
- the message to print
-
-