This commit is contained in:
2026-07-07 11:01:40 +03:00
parent b04bfab964
commit b3ed4c6c77
3 changed files with 76 additions and 1 deletions

14
examples/logger_exam.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include <snipplib/utils/snplib_logger.h>
int main()
{
auto logger = snplib::snplib_spdlog_logger_t::makeConsoleLogger("console");
logger.setLoglevel(spdlog::level::err);
logger.logInfo("AAAAAAAAAAA");
logger.logError("ERROR");
return 0;
}