-
Notifications
You must be signed in to change notification settings - Fork 0
de49366c 5b45 d37f fe44 0a82d82fd12c
Axel Kesseler edited this page Mar 1, 2023
·
15 revisions
This class represents the default implementation of interface IConsoleLoggerFacade for all applications that are able to deal with .NET Standard libraries.
System.Object
Plexdata.LogWriter.Facades.Standard.ConsoleLoggerFacade
Namespace: Plexdata.LogWriter.Facades.Standard
Assembly: Plexdata.LogWriter.Console.Standard (in Plexdata.LogWriter.Console.Standard.dll) Version: 1.0.7.1
C#
public class ConsoleLoggerFacade : IConsoleLoggerFacade
The ConsoleLoggerFacade type exposes the following members.
Name | Description | |
---|---|---|
ConsoleLoggerFacade | The default constructor initializes all its fields and properties. |
Name | Description | |
---|---|---|
Background | Gets and sets the background color to be used. | |
BufferSize | Gets and sets the dimension of the console window. | |
Foreground | Gets and sets the foreground color to be used. | |
IsAttached | Determines whether the facade is attached to a console window. | |
MustDetach | Determines whether the facade must detached the console window. | |
QuickEdit | Enables or disables the quick-edit mode of the console window. | |
References | Gets the number of references actually attached to the console facade. | |
UseColors | Gets and sets whether the console facade should use colored messages. | |
WindowTitle | Gets and sets the title text of the console window. |
Name | Description | |
---|---|---|
Attach | This method safely attaches the console window. | |
Detach | This method safely detaches the console window. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Flush | This method flushes the output stream. | |
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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write | This method writes provided message out to the console window. |
Name | Description | |
---|---|---|
interlock | This field holds the instance of the internal synchronization object. |
Major task of this class is the abstraction of all writing operations of the console logger of the real writing operation into the console window.