Class Provider

Class Documentation

class Provider

Stores the singleton global LoggerProvider.

Public Static Functions

static inline nostd::shared_ptr<LoggerProvider> GetLoggerProvider() noexcept

Returns the singleton LoggerProvider.

By default, a no-op LoggerProvider is returned. This will never return a nullptr LoggerProvider.

static inline void SetLoggerProvider(nostd::shared_ptr<LoggerProvider> tp) noexcept

Changes the singleton LoggerProvider.

static inline nostd::shared_ptr<EventLoggerProvider> GetEventLoggerProvider() noexcept

Returns the singleton EventLoggerProvider.

By default, a no-op EventLoggerProvider is returned. This will never return a nullptr EventLoggerProvider.

static inline void SetEventLoggerProvider(nostd::shared_ptr<EventLoggerProvider> tp) noexcept

Changes the singleton EventLoggerProvider.