EasyLocalAPI reference iolab-uniud/easylocal

easylocal::logging::sink

A sink is invoked synchronously.

Synopsis

Declared in <easylocal/utils/logging.hpp>

using sink = void(*)(record const&) noexcept;

Description

String views in a record are guaranteed to remain valid only for the duration of the call. Sinks must not throw.