2021-01-07 21:01:47 +01:00
|
|
|
#include <iostream>
|
2021-02-21 11:29:27 +01:00
|
|
|
#include <spdlog/sinks/stdout_color_sinks.h>
|
|
|
|
#include <spdlog/spdlog.h>
|
2021-01-07 21:01:47 +01:00
|
|
|
|
|
|
|
int main() {
|
2021-02-21 11:29:27 +01:00
|
|
|
// Create logger
|
|
|
|
auto logger = spdlog::stdout_color_st("single_log");
|
|
|
|
spdlog::set_default_logger(logger);
|
2021-01-07 21:01:47 +01:00
|
|
|
std::cout << "Hello, World!" << std::endl;
|
|
|
|
return EXIT_SUCCESS;
|
|
|
|
}
|