Skip to content

LiteFX::Logging::TerminationSink::TerminationSink

Creates a new exception sink instance.

Synopses

Declared in <litefx/logging.hpp>

Copy constructor

TerminationSink(TerminationSink const& other) = delete;

» more...

Move constructor

TerminationSink(TerminationSink&& other) noexcept = delete;

» more...

Creates a new exception sink instance.

[[dllexport, dllimport]] TerminationSink(
    LogLevel const& level = LogLevel::Info,
    int status = static_cast<int>(DEFAULT_TERMINATION_STATUS));

» more...

Parameters

NameDescription
levelThe minimum log level at which an exception is thrown.
statusThe status code used to exit the application.