-
Notifications
You must be signed in to change notification settings - Fork 0
1dba97a0 115f ce3a f903 2f76359e5a99
Axel Kesseler edited this page Mar 1, 2023
·
15 revisions
This abstract class serves as base class of all other console logger classes.
System.Object
Plexdata.LogWriter.Logging.LoggerBase(IConsoleLoggerSettings)
Plexdata.LogWriter.Logging.ConsoleLoggerBase
Plexdata.LogWriter.Logging.Standard.ConsoleLogger
Plexdata.LogWriter.Logging.Standard.ConsoleLogger(TContext)
Plexdata.LogWriter.Logging.Windows.ConsoleLogger
Plexdata.LogWriter.Logging.Windows.ConsoleLogger(TContext)
Namespace: Plexdata.LogWriter.Logging
Assembly: Plexdata.LogWriter.Console (in Plexdata.LogWriter.Console.dll) Version: 1.0.7.1
C#
public abstract class ConsoleLoggerBase : LoggerBase<IConsoleLoggerSettings>
The ConsoleLoggerBase type exposes the following members.
Name | Description | |
---|---|---|
ConsoleLoggerBase | The only class constructor. |
Name | Description | |
---|---|---|
Factory | Gets the assigned logging factory. (Inherited from LoggerBase(TSettings).) | |
IsDisabled | Determines if logging is disabled or not. (Inherited from LoggerBase(TSettings).) | |
IsDisposed | Determines whether this instance has been disposed. | |
Settings | The instance of applied logger settings. (Inherited from LoggerBase(TSettings).) |
Name | Description | |
---|---|---|
BeginScope(TScope) | Begins a logical operation scope. | |
CreateOutput(LogLevel, String, String, String, Exception, ValueTuple(String, Object)[]) | This method creates to message text to be written. (Inherited from LoggerBase(TSettings).) | |
CreateOutput(TSettings, LogLevel, String, String, String, Exception, ValueTuple(String, Object)[]) | This method creates to message text to be written. (Inherited from LoggerBase(TSettings).) | |
CreateScope(TScope) | Creates an instance of an IDisposable. (Inherited from LoggerBase(TSettings).) | |
Dispose() | This method performs the object disposal. | |
Dispose(Boolean) | This method actually does the object disposal. | |
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. (Inherited from LoggerBase(TSettings).) | |
Finalize | The class destructor. (Overrides LoggerBase(TSettings).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. (Inherited from LoggerBase(TSettings).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnLoggingScopeDisposing | Handles all incoming Disposing events. (Inherited from LoggerBase(TSettings).) | |
RemoveScope | Removes an assigned instance of class LoggingScope. (Inherited from LoggerBase(TSettings).) | |
ResolveContext(TContext)() | This method resolves the logging context. (Inherited from LoggerBase(TSettings).) | |
ResolveContext(TContext)(TSettings) | This method resolves the logging context. (Inherited from LoggerBase(TSettings).) | |
ResolveScope(TScope)(TScope) | This method resolves the logging scope. (Inherited from LoggerBase(TSettings).) | |
ResolveScope(TScope)(TScope, TSettings) | This method resolves the logging scope. (Inherited from LoggerBase(TSettings).) | |
SetupConsoleColors | This method changes current message coloring. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write | This method writes a logging message. (Overrides LoggerBase(TSettings).Write(LogLevel, String, String, String, Exception, ValueTuple(String, Object)[]).) |
Name | Description | |
---|---|---|
facade | The instance of console logger facade. | |
scopes | The list of assigned logging scopes. (Inherited from LoggerBase(TSettings).) |
Task of this base class is to share global functionality between derived classes.