Skip to content

LiteFX::Logging::ISink

Interface for a class that receives log messages.

Synopsis

Declared in <litefx/logging.hpp>

class [[dllexport, dllimport]] ISink;

Member Functions

NameDescription
~ISink [destructor] [virtual]Destructor
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.

Protected Member Functions

NameDescription
ISink [constructor]Constructors
operator= Assignment operators
get [virtual]

Friends

NameDescription
LiteFX::Logging::LoggerA provider for Log instances.

Derived Classes

NameDescription
ConsoleSink Writes log messages to the console.
RollingFileSink Writes log messages to a rolling file.
TerminationSink Forcefully terminates the application, if a log message of a certain level or higher is output.