←Select platform

Logger Class Members

Summary

The following tables list the members exposed by Logger.

Public Constructors

Name Description
Public Constructor Logger Initializes a new instance of the Logger class.

Public Methods

Name Description
Public Method Debug Logs the specified entry as a LogType.Debug.
Public Method Error Logs the specified entry as a LogType.Error.
Public Method Exception Logs the specified entry as an exception.
Public Method static  | Shared in VB GetLogger Gets the a logger with the specified name.
Public Method Info Logs the specified entry as a LogType.Information.
Public Method Log Logs the specified entry.
Public Method Warning Logs the specified entry as a LogType.Warning.

Protected Methods

Name Description
Protected Method Dispose Releases all resources used by the Logger.
Protected Method OnLogged Raises the Logged event.
Protected Method OnLogging Raises the Logging event.

Public Properties

Name Description
Public Property Enabled Gets a value indicating whether the logging is enabled.
Public Property EnableThreading Gets a value indicating whether the logging will be handled in its own thread.
Public Property Filter Gets or sets the filter that is used to determine the types of messages that are logged.
Public Property static  | Shared in VB Global Gets the global logger.
Public Property LoggingChannels Gets the logging channels.

Public Events

Name Description
Public Event Logged Occurs after a message is logged.
Public Event Logging Occurs before a message is logged.

Public Fields

Name Description
Public Field StackTraceKey Key used to store the stack trace information in LogEntry custom information.

See Also

Logger Class

Leadtools.Logging Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Logging Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.