Typedefs | |
typedef std::shared_ptr< spdlog::logger > | logptr_t |
typedef std::shared_ptr< spdlog::sinks::sink > | sinkptr_t |
Functions | |
void | add_sink (sinkptr_t sink, std::string level="") |
void | add_file (std::string filename, std::string level="") |
void | add_stdout (bool color=true, std::string level="") |
void | add_stderr (bool color=true, std::string level="") |
logptr_t | logger (std::string name) |
void | set_level (std::string level, std::string which="") |
void | set_pattern (std::string pattern, std::string which="") |
typedef std::shared_ptr<spdlog::logger> WireCell::Log::logptr_t |
typedef std::shared_ptr<spdlog::sinks::sink> WireCell::Log::sinkptr_t |
void WireCell::Log::add_file | ( | std::string | filename, |
std::string | level = "" |
||
) |
Definition at line 42 of file Logging.cxx.
void WireCell::Log::add_sink | ( | Log::sinkptr_t | sink, |
std::string | level = "" |
||
) |
Definition at line 35 of file Logging.cxx.
void WireCell::Log::add_stderr | ( | bool | color = true , |
std::string | level = "" |
||
) |
Definition at line 59 of file Logging.cxx.
void WireCell::Log::add_stdout | ( | bool | color = true , |
std::string | level = "" |
||
) |
Definition at line 48 of file Logging.cxx.
Log::logptr_t WireCell::Log::logger | ( | std::string | name | ) |
Definition at line 71 of file Logging.cxx.
void WireCell::Log::set_level | ( | std::string | level, |
std::string | which = "" |
||
) |
Definition at line 90 of file Logging.cxx.
void WireCell::Log::set_pattern | ( | std::string | pattern, |
std::string | which = "" |
||
) |
Definition at line 100 of file Logging.cxx.