Skip to content

LiteFX::Logging::TerminationSink::TerminationSink

Creates a new exception sink instance.

Synopsis

Declared in <litefx/logging.hpp>

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

Parameters

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