Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 8 of file test_logging.cxx.
31 l->set_pattern(
"[%H:%M:%S.%03e] [%n:%L] %v");
33 l->error(
"error test logger");
34 b->error(
"error other logger");
35 a->error(
"error other logger");
36 s->error(
"error other logger");
39 l->info(
"info test logger");
40 b->info(
"info other logger");
41 a->info(
"info other logger");
42 s->info(
"info other logger");
45 l->debug(
"debug test logger");
46 b->debug(
"debug other logger");
47 a->debug(
"debug other logger");
48 s->debug(
"debug other logger");
void info(const char *fmt, const Args &...args)
void add_stdout(bool color=true, std::string level="")
logptr_t logger(std::string name)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
std::shared_ptr< spdlog::logger > default_logger()
void add_file(std::string filename, std::string level="")
void debug(const char *fmt, const Args &...args)
void set_level(level::level_enum log_level)
void error(const char *fmt, const Args &...args)