mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
fix example
This commit is contained in:
parent
6f4cd8d397
commit
7378cc297c
@ -28,8 +28,7 @@ int main(int, char *[])
|
||||
try
|
||||
{
|
||||
// Console logger with color
|
||||
auto console = spdlog::console<spd::stdout_color_mt>("console");
|
||||
auto console2 = spdlog::console<spd::stdout_color_mt>("console");
|
||||
auto console = spdlog::console<spd::stdout_color_mt>("console");
|
||||
console->info("Welcome to spdlog!");
|
||||
console->error("Some error message with arg: {}", 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user