58 typedef std::shared_ptr<Logger>
Ptr;
62 virtual ~
Logger() noexcept = default;
80 virtual
void log(const
Event::
Ptr &event) noexcept;
87 virtual
void dump(const
void *buffer,
size_t length) noexcept;
93 PatternAndLocation(
const char *pattern,
const std::source_location &location = std::source_location::current())
94 : pattern(pattern), location(location) {
98 template<
typename... ARGS>
99 static void debug(PatternAndLocation pattern_and_location, ARGS &&...args);
101 static void debug(PatternAndLocation pattern_and_location);
103 template<
typename... ARGS>
104 static void info(PatternAndLocation pattern_and_location, ARGS &&...args);
106 static void info(PatternAndLocation pattern_and_location);
108 template<
typename... ARGS>
109 static void warn(PatternAndLocation pattern_and_location, ARGS &&...args);
111 static void warn(PatternAndLocation pattern_and_location);
113 template<
typename... ARGS>
114 static void error(PatternAndLocation pattern_and_location, ARGS &&...args);
116 static void error(PatternAndLocation pattern_and_location);