fix example

This commit is contained in:
gabime 2018-04-14 03:43:00 +03:00
parent 6f4cd8d397
commit 7378cc297c

View File

@ -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);