OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
logging.hpp File Reference
#include <chrono>
#include <cstdint>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <memory>
#include <mutex>
#include <optional>
#include <sstream>
Include dependency graph for logging.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  cbdc::logging::null_stream
 No-op stream destination for log output. More...
 
class  cbdc::logging::log
 Generalized logging class. More...
 

Namespaces

namespace  cbdc
 
namespace  cbdc::logging
 

Enumerations

enum class  cbdc::logging::log_level : uint8_t {
  cbdc::logging::trace , cbdc::logging::debug , cbdc::logging::info , cbdc::logging::warn ,
  cbdc::logging::error , cbdc::logging::fatal
}
 Set of possible log levels. More...
 

Functions

auto cbdc::logging::parse_loglevel (const std::string &level) -> std::optional< log_level >
 Parses a capitalized string into a log level.