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

Classes

class  DummyLogger
 
class  Logger
 
struct  LoggerConfig
 
class  LoggerManagerTree
 
class  LoggerSpdlog
 
class  LogPatterns
 Patterns for logging depending on the log level. More...
 

Typedefs

using LoggerPtr = std::shared_ptr< Logger >
 
using LoggerManagerTreePtr = std::shared_ptr< LoggerManagerTree >
 
using ConstLoggerConfigPtr = std::shared_ptr< const LoggerConfig >
 

Enumerations

enum  LogLevel {
  LogLevel::kTrace, LogLevel::kDebug, LogLevel::kInfo, LogLevel::kWarn,
  LogLevel::kError, LogLevel::kCritical
}
 Log levels. More...
 

Functions

LoggerPtr getDummyLoggerPtr ()
 
std::string boolRepr (bool value)
 
LogPatterns getDefaultLogPatterns ()
 

Variables

const LogLevel kDefaultLogLevel = LogLevel::kInfo
 

Detailed Description

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Typedef Documentation

◆ ConstLoggerConfigPtr

using logger::ConstLoggerConfigPtr = typedef std::shared_ptr<const LoggerConfig>

◆ LoggerManagerTreePtr

using logger::LoggerManagerTreePtr = typedef std::shared_ptr<LoggerManagerTree>

◆ LoggerPtr

using logger::LoggerPtr = typedef std::shared_ptr<Logger>

Enumeration Type Documentation

◆ LogLevel

enum logger::LogLevel
strong

Log levels.

Enumerator
kTrace 
kDebug 
kInfo 
kWarn 
kError 
kCritical 

Function Documentation

◆ boolRepr()

std::string logger::boolRepr ( bool  value)

Convert bool value to human readable string repr

Parameters
valuevalue for transformation
Returns
"true" or "false"
Here is the caller graph for this function:

◆ getDefaultLogPatterns()

LogPatterns logger::getDefaultLogPatterns ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDummyLoggerPtr()

LoggerPtr logger::getDummyLoggerPtr ( )
Here is the call graph for this function:

Variable Documentation

◆ kDefaultLogLevel

const LogLevel logger::kDefaultLogLevel = LogLevel::kInfo