Foundation
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
Logging.cpp File Reference
#include "Logging.hpp"
#include <mutex>
#include <spdlog/sinks/stdout_color_sinks.h>

Namespaces

namespace  Foundation
 
namespace  Foundation::Core
 Allocators, Data Structures and introspection implementations.
 

Functions

std::shared_ptr< spdlog::sinks::dist_sink_mt > Foundation::Core::getLoggingSink ()
 
std::shared_ptr< spdlog::sinks::ringbuffer_sink_mt > Foundation::Core::getBacktraceSink ()
 
spdlog::logger * Foundation::Core::getLogger (const char *name)
 

Variables

static bool Foundation::Core::g_Initialized = false
 
static std::shared_ptr< spdlog::sinks::dist_sink_mt > Foundation::Core::g_LoggingSink = nullptr
 
static std::shared_ptr< spdlog::sinks::ringbuffer_sink_mt > Foundation::Core::g_BacktraceSink = nullptr
 
std::recursive_mutex Foundation::Core::g_LoggingSinkMutex
 
std::recursive_mutex Foundation::Core::g_LoggerMutex