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
LogMessage.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_LOGGING_LOGMESSAGE_HPP_
9#define GALAXY_LOGGING_LOGMESSAGE_HPP_
10
11#include <string>
12
13namespace galaxy
14{
15 namespace logging
16 {
20 struct LogMessage final
21 {
25 std::string colour;
26
30 std::string level;
31
35 std::string time;
36
40 std::string file;
41
45 std::string line;
46
50 std::string message;
51
55 std::string trace;
56 };
57 } // namespace logging
58} // namespace galaxy
59
60#endif
Timer.hpp galaxy.
Definition Async.hpp:17
Parts of a log message to be passed to sinks.
std::string level
Level of message.
std::string time
Timestamp of message.
std::string colour
ASCII colour code.
std::string message
The actual message to record.
std::string trace
Stack trace.
std::string line
Line the message occured on.
std::string file
File message occured in.