22 makeConsoleTextStyleTableFor<Record_t>(
26 {
SevLvl::debug, { .textColor = Color::yellow, .bgColor = Color::gray } },
29 {
SevLvl::error, { .style = Style::bold, .textColor = Color::red, .bgColor = Color::yellow } },
30 {
SevLvl::fatal, { .style = Style::crossed, .textColor = Color::gray, .bgColor = Color::red } }
35 log() <<
"Hello, World!";
const SeverityLevel_t & severity() const noexcept
Const access to the severity level.
Definition: Record.hpp:284
Sink class for directly logging onto std::cout.
Definition: ConsoleSink.hpp:239
The central point of the whole library. Needs to be instantiated at least once.
Definition: Core.hpp:51
requires std::constructible_from< TSink, TArgs... > TSink & makeSink(TArgs &&... args)
Creates Sink and registers it at this Core instance.
Definition: Core.hpp:130
Manipulates the channel of the current RecordBuilder object.
Definition: RecordBuilder.hpp:31
Definition: PresetTypes.hpp:14
auto & gConsoleSink
Definition: ReadyToGo.hpp:19
Definition: BasicSink.hpp:22
Style
Definition: ConsoleSink.hpp:67
Color
Definition: ConsoleSink.hpp:45