hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
logger::DummyLogger Class Reference

#include "dummy_logger.hpp"

Inheritance diagram for logger::DummyLogger:
Inheritance graph
Collaboration diagram for logger::DummyLogger:
Collaboration graph

Protected Member Functions

void logInternal (Level level, const std::string &s) const override
 
bool shouldLog (Level level) const override
 

Additional Inherited Members

- Public Types inherited from logger::Logger
using Level = LogLevel
 
- Public Member Functions inherited from logger::Logger
virtual ~Logger ()=default
 
template<typename... Args>
void trace (const std::string &format, const Args &...args) const
 
template<typename... Args>
void debug (const std::string &format, const Args &...args) const
 
template<typename... Args>
void info (const std::string &format, const Args &...args) const
 
template<typename... Args>
void warn (const std::string &format, const Args &...args) const
 
template<typename... Args>
void error (const std::string &format, const Args &...args) const
 
template<typename... Args>
void critical (const std::string &format, const Args &...args) const
 
template<typename... Args>
void log (Level level, const std::string &format, const Args &...args) const
 

Member Function Documentation

void logger::DummyLogger::logInternal ( Level  level,
const std::string &  s 
) const
inlineoverrideprotectedvirtual

Implements logger::Logger.

bool logger::DummyLogger::shouldLog ( Level  level) const
inlineoverrideprotectedvirtual

Whether the configured logging level is at least as verbose as the one given in parameter.

Implements logger::Logger.


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