-
Notifications
You must be signed in to change notification settings - Fork 0
3136c3cd 8f67 5ff6 3400 160bcf99a3dd
Axel Kesseler edited this page Mar 1, 2023
·
16 revisions
The abstract base class of all logger classes.
System.Object
Plexdata.LogWriter.Logging.LoggerBase(TSettings)
More...
Namespace: Plexdata.LogWriter.Logging
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1
C#
public abstract class LoggerBase<TSettings>
where TSettings : ILoggerSettings
- TSettings
- The type of TSettings must be of type ILoggerSettings.
Name | Description | |
---|---|---|
LoggerBase(TSettings)(TSettings) | The default constructor. | |
LoggerBase(TSettings)(TSettings, ILoggerFactory) | The parameterized constructor. |
Name | Description | |
---|---|---|
Factory | Gets the assigned logging factory. | |
IsDisabled | Determines if logging is disabled or not. | |
Settings | The instance of applied logger settings. |
Name | Description | |
---|---|---|
CreateOutput(LogLevel, String, String, String, Exception, ValueTuple(String, Object)[]) | This method creates to message text to be written. | |
CreateOutput(TSettings, LogLevel, String, String, String, Exception, ValueTuple(String, Object)[]) | This method creates to message text to be written. | |
CreateScope(TScope) | Creates an instance of an IDisposable. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FetchScope | Fetches the string to be used as scope value. | |
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.) | |
IsEnabled | Determines if a particular logging level is enabled. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnLoggingScopeDisposing | Handles all incoming Disposing events. | |
RemoveScope | Removes an assigned instance of class LoggingScope. | |
ResolveContext(TContext)() | This method resolves the logging context. | |
ResolveContext(TContext)(TSettings) | This method resolves the logging context. | |
ResolveScope(TScope)(TScope) | This method resolves the logging scope. | |
ResolveScope(TScope)(TScope, TSettings) | This method resolves the logging scope. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write | This method writes a logging message. |
Name | Description | |
---|---|---|
scopes | The list of assigned logging scopes. |
This abstract base class provides all functionalities to be shared with all other logger classes.
Plexdata.LogWriter.Logging Namespace