Commit 7378cc29 authored by gabime's avatar gabime

fix example

parent 6f4cd8d3
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment