Logging recognition events
Aspose.OCR for .NET can show recognition progress in the console or log it to a file. The logging is activated with a static
Aspose.OCR.Logging class. You can use the following properties to activate logging and specify its parameters:
true to enable the display of recognition progress in the console.
true to write recognition progress to a file specified in
|Specify an absolute or relative path to the log file. Applicable only when the
Aspose.OCR.Logging.FileSystem property is set to
|Specify the log severity. See Log severity levels for details.
Log severity levels
You can configure the log severity by specifying one of the following values in
|Error events of considerable importance that will affect normal program execution.
|Potentially harmful situations that might still allow the application to continue running.
|Detailed trace messages useful for application developers.
|No logging. Works the same as turning off logging with