spdlog/example/example.cpp

18 lines
301 B
C++
Raw Normal View History

2019-03-23 18:40:27 -04:00
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
//
// spdlog usage example
//
//
2019-04-05 06:26:33 -04:00
#include "spdlog/logger.h"
2019-03-23 18:40:27 -04:00
2019-04-05 06:26:33 -04:00
spdlog::logger *get_logger();
2019-03-23 18:40:27 -04:00
2019-04-05 06:26:33 -04:00
int main(int, char *[])
{
auto *l = get_logger();
l->info(L"HEllo {}", L"HGFS");
2019-04-05 06:26:33 -04:00
}