Class Installation.LoggingModes
Logging modes. You may use any combination of these flags to enable logging.
Inheritance
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public sealed class LoggingModes : Enum
Choose where IronOCR writes its diagnostic logging by setting Installation.LogMode to a LoggingModes value. None disables logging, All enables every sink, and the targeted flags route output to a specific destination: Console, DebugOutputWindow, File (paired with a log file path), or Custom for your own logger. The flags combine, so bitwise-or them to log to more than one place at once.
IronOcr.Installation.LogMode = IronOcr.Installation.LoggingModes.Console;Fields
All
Enable logging to the debug output window
Declaration
public const Installation.LoggingModes All
Field Value
| Type | Description |
|---|---|
| Installation.LoggingModes |
Console
Enable logging to the console
Declaration
public const Installation.LoggingModes Console
Field Value
| Type | Description |
|---|---|
| Installation.LoggingModes |
Custom
Enable custom logging
Declaration
public const Installation.LoggingModes Custom
Field Value
| Type | Description |
|---|---|
| Installation.LoggingModes |
See Also
DebugOutputWindow
Enable logging to the debug output window
Declaration
public const Installation.LoggingModes DebugOutputWindow
Field Value
| Type | Description |
|---|---|
| Installation.LoggingModes |
File
Enable logging to the debug output window
Declaration
public const Installation.LoggingModes File
Field Value
| Type | Description |
|---|---|
| Installation.LoggingModes |
See Also
None
Disable logging
Declaration
public const Installation.LoggingModes None
Field Value
| Type | Description |
|---|---|
| Installation.LoggingModes |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |