1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-03-16 19:19:53 +08:00
This commit is contained in:
gabime 2018-04-29 00:35:32 +03:00
parent b393c9d6e6
commit e500fa013f

View File

@ -64,6 +64,9 @@ int main(int, char *[])
console->info("This an info message with custom format");
console->error("This an error message with custom format");
// Change format back to to default
spd::set_pattern ("%+");
// Runtime log levels
spd::set_level(spd::level::info); // Set global log level to info
console->debug("This message should not be displayed!");