mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
updated example
This commit is contained in:
parent
a21594bec7
commit
145fc367f9
@ -21,6 +21,7 @@
|
||||
void async_example();
|
||||
void user_defined_example();
|
||||
void err_handler_example();
|
||||
void syslog_example();
|
||||
|
||||
namespace spd = spdlog;
|
||||
int main(int, char *[])
|
||||
@ -28,6 +29,7 @@ int main(int, char *[])
|
||||
|
||||
try
|
||||
{
|
||||
syslog_example();
|
||||
auto console = spdlog::stdout_color_st("console");
|
||||
console->info("Welcome to spdlog!");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user