Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
logging.hpp File Reference
#include <QString>
#include <filesystem>
#include <source_location>
#include "formatters.hpp"
#include "core/Types.hpp"
#include "core/notifications/notifications.hpp"
#include "ui/dialog/console/Console.hpp"

Go to the source code of this file.

Classes

struct  atlas::logging::debug< Ts >
 
struct  atlas::logging::info< Ts >
 
struct  atlas::logging::warn< Ts >
 
struct  atlas::logging::error< Ts >
 
struct  atlas::logging::errorLoc< Ts >
 
struct  atlas::logging::critical< Ts >
 

Namespaces

namespace  atlas
 
namespace  atlas::logging
 
namespace  atlas::logging::internal
 

Macros

#define ATLAS_LOGGING_HPP
 

Functions

void atlas::logging::init ()
 
void atlas::logging::setFormat ()
 
void atlas::logging::initGUIHooks ()
 Loads the GUI hooks required for some warnings to display to the user.
 
std::string atlas::logging::formatSourceLocation (const std::source_location loc, const format_ns::string_view msg)
 
void atlas::logging::internal::logDebug (const std::string_view msg)
 Passes message to spdlog.
 
void atlas::logging::internal::logInfo (const std::string_view msg)
 Passes message to spdlog.
 
void atlas::logging::internal::logWarn (const std::string_view msg)
 Passes message to spdlog.
 
void atlas::logging::internal::logError (const std::string_view msg)
 Passes message to spdlog.
 
void atlas::logging::internal::logCritical (const std::string_view msg)
 Passes message to spdlog.
 
template<typename... Ts>
 atlas::logging::debug (format_ns::format_string< Ts... >, Ts &&...) -> debug< Ts... >
 
template<typename... Ts>
 atlas::logging::info (format_ns::format_string< Ts... >, Ts &&...) -> info< Ts... >
 
template<typename... Ts>
 atlas::logging::warn (format_ns::format_string< Ts... >, Ts &&...) -> warn< Ts... >
 
template<typename... Ts>
 atlas::logging::error (format_ns::format_string< Ts... >, Ts &&... a) -> error< Ts... >
 
template<typename... Ts>
 atlas::logging::errorLoc (format_ns::format_string< Ts... >, const std::source_location &, Ts &&... a) -> errorLoc< Ts... >
 
template<typename... Ts>
 atlas::logging::critical (format_ns::format_string< Ts... >, Ts &&...) -> critical< Ts... >
 

Macro Definition Documentation

◆ ATLAS_LOGGING_HPP

#define ATLAS_LOGGING_HPP