Lugdunum
0.1.0
include
lug
System
Logger
Message.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
lug/System/Logger/Common.hpp
>
4
5
namespace
lug
{
6
namespace
System {
7
namespace
Logger {
8
12
namespace
priv {
13
14
class
Message {
15
public
:
16
Message() =
default
;
17
Message(
const
std::string& _loggerName,
Level
_level): loggerName(_loggerName), level(_level) {}
18
19
Message(
const
Message&) =
default
;
20
Message(Message&&) =
default
;
21
22
Message& operator=(
const
Message&) =
default
;
23
Message& operator=(Message&&) =
default
;
24
25
~Message() =
default
;
26
27
const
std::string loggerName;
28
Level
level;
29
30
fmt::MemoryWriter raw;
31
fmt::MemoryWriter formatted;
32
};
33
34
}
// priv
39
}
// Logger
40
}
// System
41
}
// lug
lug::System::Logger::Level
Level
Definition:
Common.hpp:35
lug
Definition:
Application.hpp:11
Common.hpp
Generated by
1.8.13