Namespaces | Macros | Typedefs | Functions
Logging.h File Reference
#include "spdlog/spdlog.h"
#include "spdlog/fmt/ostr.h"
#include <string>

Go to the source code of this file.

Namespaces

 WireCell
 
 WireCell::Log
 

Macros

#define SPDLOG_ACTIVE_LEVEL   SPDLOG_LEVEL_TRACE
 

Typedefs

typedef std::shared_ptr< spdlog::loggerWireCell::Log::logptr_t
 
typedef std::shared_ptr< spdlog::sinks::sinkWireCell::Log::sinkptr_t
 

Functions

void WireCell::Log::add_sink (sinkptr_t sink, std::string level="")
 
void WireCell::Log::add_file (std::string filename, std::string level="")
 
void WireCell::Log::add_stdout (bool color=true, std::string level="")
 
void WireCell::Log::add_stderr (bool color=true, std::string level="")
 
logptr_t WireCell::Log::logger (std::string name)
 
void WireCell::Log::set_level (std::string level, std::string which="")
 
void WireCell::Log::set_pattern (std::string pattern, std::string which="")
 

Macro Definition Documentation

#define SPDLOG_ACTIVE_LEVEL   SPDLOG_LEVEL_TRACE

Definition at line 13 of file Logging.h.