gemini-server/main.cpp
Pcornat 23246d0d9d
Configuration is partially made.
Compilation and linker flags for spdlog are changed to be usable with clang and the project.
Another default logger is made in the main.cpp
Correction in README.md and format.
2021-02-21 11:29:27 +01:00

12 lines
283 B
C++

#include <iostream>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>
int main() {
// Create logger
auto logger = spdlog::stdout_color_st("single_log");
spdlog::set_default_logger(logger);
std::cout << "Hello, World!" << std::endl;
return EXIT_SUCCESS;
}