-
Notifications
You must be signed in to change notification settings - Fork 0
bfb97955 6c52 ae37 2bf3 ad3d88aca7cf
Axel Kesseler edited this page Mar 1, 2023
·
2 revisions
This internal class provides functionality to manage logging scopes.
System.Object
Plexdata.LogWriter.Internals.Logging.LoggingScope
Namespace: Plexdata.LogWriter.Internals.Logging
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1
C#
internal class LoggingScope : IDisposable
The LoggingScope type exposes the following members.
Name | Description | |
---|---|---|
LoggingScope() | The default constructor initializes instances of this class. | |
LoggingScope(Object) | This constructor initializes instances of this class using provided value. |
Name | Description | |
---|---|---|
DebuggerDisplay | Gets a debug representation of this instance. | |
IsDisposed | Determines whether an instance of this class has been disposed already. | |
Value | An object representing the assigned scope. |
Name | Description | |
---|---|---|
Dispose() | Frees all disposable instance resources. | |
Dispose(Boolean) | Frees all disposable instance resources. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | The class destructor. (Overrides Object.Finalize().) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToDisplay | Returns the scope's string representation. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Disposing | Occurs when the object is being disposed. |
Name | Description | |
---|---|---|
SafeDispose | Ensures a safe object disposal. (Defined by DisposableExtension.) |
Such a logging scope is enabled by calling method CreateScope(TScope)(TScope) of class LoggerBase(TSettings).