Kagome
Polkadot Runtime Engine in C++17
logger.cpp File Reference
#include <boost/assert.hpp>
#include <iostream>
#include <libp2p/log/logger.hpp>
#include <soralog/impl/sink_to_console.hpp>
#include "log/logger.hpp"
#include "log/profiling_logger.hpp"
Include dependency graph for logger.cpp:

Go to the source code of this file.

Namespaces

 kagome::log
 

Functions

 OUTCOME_CPP_DEFINE_CATEGORY (kagome::log, Error, e)
 
outcome::result< Level > kagome::log::str2lvl (std::string_view str)
 
void kagome::log::setLoggingSystem (std::shared_ptr< soralog::LoggingSystem > logging_system)
 
void kagome::log::tuneLoggingSystem (const std::vector< std::string > &cfg)
 
Logger kagome::log::createLogger (const std::string &tag)
 
Logger kagome::log::createLogger (const std::string &tag, const std::string &group)
 
Logger kagome::log::createLogger (const std::string &tag, const std::string &group, Level level)
 
bool kagome::log::setLevelOfGroup (const std::string &group_name, Level level)
 
bool kagome::log::resetLevelOfGroup (const std::string &group_name)
 
bool kagome::log::setLevelOfLogger (const std::string &logger_name, Level level)
 
bool kagome::log::resetLevelOfLogger (const std::string &logger_name)
 

Function Documentation

OUTCOME_CPP_DEFINE_CATEGORY ( kagome::log  ,
Error  ,
 
)

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

Definition at line 14 of file logger.cpp.