#include <filesystem>
#include <source_location>
#include <stacktrace>
#include <entt/locator/locator.hpp>
#include <magic_enum/magic_enum.hpp>
#include "galaxy/logging/LogLevel.hpp"
#include "galaxy/logging/Sink.hpp"
#include "galaxy/utils/StringUtils.hpp"
Go to the source code of this file.
◆ GALAXY_INFO
◆ GALAXY_DEBUG
◆ GALAXY_WARNING
◆ GALAXY_ERROR
◆ GALAXY_FATAL
◆ GALAXY_LOG_SET_MIN_LEVEL
#define GALAXY_LOG_SET_MIN_LEVEL |
( |
| level | ) |
|
Value:entt::locator<galaxy::logging::Log>::value().set_min_level<level>()
Definition at line 27 of file Log.hpp.
◆ GALAXY_ADD_SINK
#define GALAXY_ADD_SINK |
( |
| sink, |
|
|
| ... ) |
Value:entt::locator<galaxy::logging::Log>::value().add_sink<sink>(__VA_ARGS__)
Definition at line 28 of file Log.hpp.
◆ GALAXY_LOG
#define GALAXY_LOG |
( |
| level, |
|
|
| msg, |
|
|
| ... ) |
Value:entt::locator<galaxy::logging::Log>::value().log<level>(std::source_location::current(), msg __VA_OPT__(, ) __VA_ARGS__)
Definition at line 29 of file Log.hpp.