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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidWrites in the system log with DEBUG priorityvoidWrites in the system log with ERROR priorityvoidWrites in the system log with INFO priorityvoidPrints in the system outputvoidWrites 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
-