spdlog/example/example.cpp
2019-04-05 16:57:49 +03:00

21 lines
342 B
C++

//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
//
// spdlog usage example
//
//
#include "spdlog/logger.h"
spdlog::logger *get_logger();
int main(int, char *[])
{
auto *l = get_logger();
l->info("HELLO {}", "GA");
l->error("Some {}", "error");
}