Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
logger.cpp File Reference
#include <pch.hpp>
#include <helios/log/logger.hpp>
#include <helios/assert.hpp>
#include <helios/container/static_string.hpp>
#include <helios/log/config.hpp>
#include <spdlog/async.h>
#include <spdlog/logger.h>
#include <spdlog/pattern_formatter.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>
#include <array>
#include <chrono>
#include <cstddef>
#include <ctime>
#include <expected>
#include <filesystem>
#include <format>
#include <iterator>
#include <memory>
#include <mutex>
#include <string>
#include <string_view>
#include <system_error>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{logger.cpp}
namespace  helios
namespace  helios::log
namespace  helios::log::details
namespace  helios::details

Typedefs

using Timestamp = helios::container::StaticString<19>

Functions

auto anonymous_namespace{logger.cpp}::GenerateTimestamp () noexcept -> std::expected< Timestamp, std::string_view >
std::string anonymous_namespace{logger.cpp}::FormatLogFileName (std::string_view logger_name, std::string_view pattern)
void helios::log::details::LogAssertionViaLogger (std::string_view condition, const std::source_location &loc, std::string_view message) noexcept
 Log plugin assertion handler implementation.
bool helios::details::HasLogPluginHandler () noexcept
 Log plugin assertion handler (weak symbol).
void helios::details::LogPluginAssertionHandler (std::string_view condition, const std::source_location &loc, std::string_view message) noexcept
 Weak symbol for log plugin assertion handler.

Typedef Documentation

◆ Timestamp

Definition at line 31 of file logger.cpp.