Volume Control
Application-specific hotkeys for Windows
|
Allows using the Console as a logging endpoint. More...
Public Member Functions | |
ConsoleEndpoint () | |
Creates a new ConsoleEndpoint instance. More... | |
override TextWriter | GetTextWriter () |
Gets a TextWriter object for writing to this endpoint. | |
override void | Reset () |
Clears the console. More... | |
Public Member Functions inherited from VolumeControl.Log.Endpoints.BaseEndpointWriter | |
virtual void | Write (string @string) |
Writes the specified string to the endpoint. | |
virtual void | WriteLine (string @string) |
Writes the specified string to the endpoint, followed by a line break. | |
virtual void | WriteLine () |
Writes a line break to the endpoint. More... | |
Static Public Member Functions | |
static TextWriter | GetSTDOUT () |
Gets the TextWriter instance for the standard output console stream. More... | |
static TextWriter | GetSTDERR () |
Gets the TextWriter instance for the standard error console stream. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VolumeControl.Log.Endpoints.BaseEndpointWriter | |
BaseEndpointWriter (bool isWritingEnabled=true) | |
Creates a new BaseEndpointWriter instance. More... | |
void | NotifyPropertyChanged ([CallerMemberName] string propertyName="") |
Triggers the PropertyChanged event for the specified propertyName . More... | |
Properties inherited from VolumeControl.Log.Endpoints.BaseEndpointWriter | |
bool | IsWritingEnabled [get, set] |
Properties inherited from VolumeControl.Log.Interfaces.IEndpointWriter | |
bool | IsWritingEnabled [get, set] |
Gets or sets whether this endpoint can be written to. More... | |
Events inherited from VolumeControl.Log.Endpoints.BaseEndpointWriter | |
EventHandler< bool >? | EnabledChanging |
EventHandler< bool >? | EnabledChanged |
PropertyChangedEventHandler? | PropertyChanged |
Events inherited from VolumeControl.Log.Interfaces.IEndpointWriter | |
EventHandler< bool >? | EnabledChanging |
Occurs when the endpoint is about to be enabled or disabled for any reason. More... | |
EventHandler< bool >? | EnabledChanged |
Occurs when the endpoint is enabled or disabled for any reason. More... | |
Allows using the Console as a logging endpoint.
VolumeControl.Log.Endpoints.ConsoleEndpoint.ConsoleEndpoint | ( | ) |
Creates a new ConsoleEndpoint instance.
|
static |
Gets the TextWriter instance for the standard error console stream.
The caller should not dispose of the returned writer object.
|
static |
Gets the TextWriter instance for the standard output console stream.
The caller should not dispose of the returned writer object.
|
virtual |
Clears the console.
Implements VolumeControl.Log.Endpoints.BaseEndpointWriter.