galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
ConsoleSink.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_LOGGING_CONSOLESINK_HPP_
9#define GALAXY_LOGGING_CONSOLESINK_HPP_
10
12
13namespace galaxy
14{
15 namespace logging
16 {
20 class ConsoleSink final : public Sink
21 {
22 public:
27
31 virtual ~ConsoleSink();
32
38 void sink_message(const LogMessage& message) override;
39 };
40 } // namespace logging
41} // namespace galaxy
42
43#endif
Logs a message to the console.
virtual ~ConsoleSink()
Destructor.
void sink_message(const LogMessage &message) override
Sink the message.
A source for log messages to be recorded to.
Definition Sink.hpp:23
Timer.hpp galaxy.
Definition Async.hpp:17
Parts of a log message to be passed to sinks.