...
This commit is contained in:
14
examples/logger_exam.cpp
Normal file
14
examples/logger_exam.cpp
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user