algorithms  2.2.0
Framework-independent algorithms for the EIC
Loading...
Searching...
No Matches
logger.h File Reference
#include <array>
#include <functional>
#include <ios>
#include <iostream>
#include <memory>
#include <mutex>
#include <ostream>
#include <sstream>
#include <string>
#include <algorithms/error.h>
#include <algorithms/service.h>
#include <fmt/format.h>
Include dependency graph for logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  algorithms::LogSvc
class  algorithms::detail::LoggerBuffer
class  algorithms::detail::LoggerStream
class  algorithms::LoggerMixin
class  algorithms::LoggedService< SvcType >

Namespaces

namespace  algorithms
namespace  algorithms::detail

Macros

#define ALGORITHMS_DEFINE_LOGGED_SERVICE(className)

Enumerations

enum class  algorithms::LogLevel : unsigned {
  algorithms::kTrace = 0 , algorithms::kDebug = 1 , algorithms::kInfo = 2 , algorithms::kWarning = 3 ,
  algorithms::kError = 4 , algorithms::kCritical = 5
}

Functions

constexpr std::string_view algorithms::logLevelName (LogLevel level)

Macro Definition Documentation

◆ ALGORITHMS_DEFINE_LOGGED_SERVICE

#define ALGORITHMS_DEFINE_LOGGED_SERVICE ( className)
Value:
protected: \
className() : LoggedService<className>(#className) {} \
\
public: \
friend class Service<className>; \
className(const className&) = delete; \
void operator=(const className&) = delete; \
constexpr static const char* kName = #className;

Definition at line 278 of file logger.h.