mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Update README.md
This commit is contained in:
parent
296623baa3
commit
35446d08c8
@ -65,7 +65,7 @@ int main(int, char* [])
|
|||||||
namespace spd = spdlog;
|
namespace spd = spdlog;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
//Create thread safe console logger (with colors)
|
// Colored console logger
|
||||||
auto console = spd::stdout_logger_mt("console", true);
|
auto console = spd::stdout_logger_mt("console", true);
|
||||||
console->info("Welcome to spdlog!") ;
|
console->info("Welcome to spdlog!") ;
|
||||||
console->info("An info message example {}..", 1);
|
console->info("An info message example {}..", 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user