Telogis.GeoBase.Diagnostics Namespace | ![]() |
The Telogis.GeoBase.Diagnostics namespace provides the Log class to support logging to a file, console or a required target; and the LogEntry class to represent individual log entries.
Use the Log class to allow your application to log general information, debug, error and incoming/outgoing messages, among others. WithCategory(String) is used to create a logger with a category name of your choosing. The LogEntry class is used to manage individual log entries passed to the LogEventHandler delegate in order to trigger an event.
More information:
See the Logging Tutorial section of this help guide for more information about logging.
Class | Description | |
---|---|---|
![]() | AbstractLogger |
An abstract logger class from which more specific logger classes inherit their methods.
|
![]() | CaptureLog |
For internal use only.
|
![]() | EventLogger |
Creates an EventLogger for handling a logging event.
|
![]() | FileLogger |
A class for creating a log file and writing log entries to the log file.
|
![]() | Log |
Allows applications to log messages. The actual work of writing the log
messages is done via delegates, allowing applications to log messages to a
file, the console, a window or any one of numerous targets.
|
![]() | LogEntry |
Represents a single log entry passed to a LogEventHandler.
|
![]() | NullLogger |
Interface | Description | |
---|---|---|
![]() | ILogger |
An interface to the ILogger.
|
Delegate | Description | |
---|---|---|
![]() | LogExceptionLogDelegate | Obsolete. |
![]() | LogLogDelegate | Obsolete. |
![]() ![]() | LogEventHandler |
A delegate that consumes log events.
|
![]() | RequestStringDelegate |
Called if the full request body is required for logging purposes.
|
Enumeration | Description | |
---|---|---|
![]() | LogDirection |
A type containing valid values for LogEntry.LogDirection.
|
![]() | LogType |
A type containing valid values for LogEntry.LogType.
|