exchange
Low-latency exchange in C++
Loading...
Searching...
No Matches
exchange::common::LogService Class Reference

#include <logging.hpp>

Static Public Member Functions

static std::shared_ptr< spdlog::logger > getLogger (LogProducer producer)

Detailed Description

Manager of spdlog::logger singletons.

Member Function Documentation

◆ getLogger()

std::shared_ptr< spdlog::logger > exchange::common::LogService::getLogger ( LogProducer producer)
static

Retrieve or create a logger instance for a given producing component.

Parameters
producerThe component where the log comes from, visible in the logs.
Returns
A logger that will specify its producer.
Here is the caller graph for this function:

The documentation for this class was generated from the following files: