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
Log.cpp
Go to the documentation of this file.
1
7
8
#include "
Log.hpp
"
9
10
using namespace
std::chrono_literals;
11
12
namespace
galaxy
13
{
14
namespace
logging
15
{
16
Log::Log
() noexcept
17
: m_min_level {
LogLevel::_INFO_
}
18
{
19
m_sinks.reserve(2);
20
}
21
22
Log::~Log
() noexcept
23
{
24
m_min_level
=
LogLevel::_INFO_
;
25
m_sinks
.clear();
26
}
27
}
// namespace logging
28
}
// namespace galaxy
Log.hpp
galaxy::logging::Log::m_sinks
std::vector< std::unique_ptr< Sink > > m_sinks
List of sinks.
Definition
Log.hpp:120
galaxy::logging::Log::m_min_level
LogLevel m_min_level
Minimum level for a message to be logged.
Definition
Log.hpp:115
galaxy::logging::Log::~Log
~Log() noexcept
Destructor.
Definition
Log.cpp:22
galaxy::logging::Log::Log
Log() noexcept
Constructor.
Definition
Log.cpp:16
galaxy::logging::LogLevel::_INFO_
@ _INFO_
Info Log Level.
galaxy
Timer.hpp galaxy.
Definition
Async.hpp:17
galaxy
src
galaxy
logging
Log.cpp
Generated on Sat Mar 1 2025 14:49:36 for galaxy by
1.12.0