LiteFX::Logging::TerminationSink
Forcefully terminates the application, if a log message of a certain level or higher is output.
Synopsis
Declared in <litefx/logging.hpp>
class [[dllexport, dllimport]] TerminationSink
: public ISink
Description
The purpose of this sink is to allow tests to catch errors during application runtime. You probably do not want to use this sink in an actual application.
Base Classes
| Name | Description |
ISink | Interface for a class that receives log messages. |
Member Functions
| Name | Description |
TerminationSink [constructor] | Creates a new exception sink instance. |
~TerminationSink [destructor] [virtual] | Destructor |
operator= | Assignment operators |
getLevel [virtual] | Gets the minimum log level for messages to get written to the log. |
getName [virtual] | Gets the name of the sink. |
getPattern [virtual] | Gets the pattern used to format the messages for the sink. |
Static Data Members
Protected Member Functions
| Name | Description |
operator= | Assignment operators |
get [virtual] | |
Friends