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

Patterns for logging depending on the log level. More...

#include "logger_spdlog.hpp"

Collaboration diagram for logger::LogPatterns:
Collaboration graph

Public Member Functions

void setPattern (LogLevel level, std::string pattern)
 Set a logging pattern for the given level. More...
 
std::string getPattern (LogLevel level) const
 
LogPatternsinherit (const LogPatterns &base)
 Inherit missing level overrides from another patterns. More...
 

Detailed Description

Patterns for logging depending on the log level.

Member Function Documentation

std::string logger::LogPatterns::getPattern ( LogLevel  level) const

Get the logging pattern for the given level. If not set, get the next present more verbose level pattern, if any, or the default pattern.

Here is the call graph for this function:

Here is the caller graph for this function:

LogPatterns & logger::LogPatterns::inherit ( const LogPatterns base)

Inherit missing level overrides from another patterns.

void logger::LogPatterns::setPattern ( LogLevel  level,
std::string  pattern 
)

Set a logging pattern for the given level.

Here is the caller graph for this function:


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