Class Logging

Class Logging

Namespace: Aspose.OCR
Assembly: Aspose.OCR.dll (25.2.0)

Class to create log configurations.

public static class Logging

Inheritance

objectLogging

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

Console

Set or get - the logs are displayed on the console.

public static bool Console { get; set; }

Property Value

bool

FileSystem

Set or get - the logs are saved in the file (default path “Aspose.OCR.log.txt”).

public static bool FileSystem { get; set; }

Property Value

bool

LogFilePath

Set or get the path and name of log file.

public static string LogFilePath { get; set; }

Property Value

string

LoggingLevel

Set or get log level

public static LoggingLevel LoggingLevel { get; set; }

Property Value

LoggingLevel

 English