Skip to content

KDGpu::Logger

#include <logging.h>

Public Types

Name
using std::function< std::shared_ptr< spdlog::logger >(const std::string &)> LoggerFactoryFunction

Public Functions

Name
std::shared_ptr< spdlog::logger > logger()
void setLoggerFactory(LoggerFactoryFunction factory)
LoggerFactoryFunction loggerFactory()

Public Types Documentation

using LoggerFactoryFunction

1
using KDGpu::Logger::LoggerFactoryFunction =  std::function<std::shared_ptr<spdlog::logger>(const std::string &)>;

Public Functions Documentation

function logger

1
static inline std::shared_ptr< spdlog::logger > logger()

function setLoggerFactory

1
2
3
static void setLoggerFactory(
    LoggerFactoryFunction factory
)

function loggerFactory

1
static LoggerFactoryFunction loggerFactory()

Updated on 2024-11-22 at 00:02:00 +0000