mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
21 lines
342 B
C++
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/spdlog.h"
|
|
#include "spdlog/logger.h"
|
|
|
|
spdlog::logger *get_logger();
|
|
|
|
int main(int, char *[])
|
|
{
|
|
int x = 4;
|
|
|
|
auto *l = get_logger();
|
|
l->info("HEllo { }", "HG FS");
|
|
} |