6 #ifndef SL_LOG_PRESET_TYPES_HPP
7 #define SL_LOG_PRESET_TYPES_HPP
43 constexpr
const char* str[] = {
"debug",
"info",
"hint",
"warning",
"error",
"fatal" };
44 out << str[static_cast<std::size_t>(lvl)];
Convenience class for generating Record s.
Definition: Logger.hpp:84
A collection of logging related information.
Definition: Record.hpp:227
Abstract Sink class which offers basic filtering, formatting functionality.
Definition: BasicSink.hpp:52
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
Class for logging into files.
Definition: FileSink.hpp:81
Sink interface class.
Definition: ISink.hpp:29
An std::ostream orientated Sink class which extends BasicSink.
Definition: OStreamSink.hpp:35
SevLvl
A simple severity level enum type.
Definition: PresetTypes.hpp:26
std::ostream & operator<<(std::ostream &out, SevLvl lvl)
Operator << overload for SeverityLevel type.
Definition: PresetTypes.hpp:41
Definition: PresetTypes.hpp:14