1 #ifndef WIRECELL_LOGGING 2 #define WIRECELL_LOGGING 13 #define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_TRACE 24 typedef std::shared_ptr<spdlog::logger>
logptr_t;
25 typedef std::shared_ptr<spdlog::sinks::sink>
sinkptr_t;
void add_stdout(bool color=true, std::string level="")
std::shared_ptr< spdlog::sinks::sink > sinkptr_t
void set_level(std::string level, std::string which="")
void set_pattern(std::string pattern, std::string which="")
void add_stderr(bool color=true, std::string level="")
logptr_t logger(std::string name)
std::shared_ptr< spdlog::logger > logptr_t
void add_file(std::string filename, std::string level="")
void add_sink(sinkptr_t sink, std::string level="")