Package com.logicaldoc.core.automation
Class LogTool
java.lang.Object
com.logicaldoc.core.automation.LogTool
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Writes in the system log with DEBUG priorityvoid
Writes in the system log with ERROR priorityvoid
Writes in the system log with INFO priorityvoid
Prints in the system outputvoid
Writes in the system log with WARN priority
-
Constructor Details
-
LogTool
public LogTool()
-
-
Method Details
-
print
Prints in the system output- Parameters:
message
- the message to print
-
debug
Writes in the system log with DEBUG priority- Parameters:
message
- the message to print
-
info
Writes in the system log with INFO priority- Parameters:
message
- the message to print
-
warn
Writes in the system log with WARN priority- Parameters:
message
- the message to print
-
error
Writes in the system log with ERROR priority- Parameters:
message
- the message to print
-