Definition in file src_nologs.cpp.
#include <liblogger/liblogger_levels.h>
#include <liblogger/liblogger.h>
Go to the source code of this file.
Defines | |
#define | LOG_LEVEL LOG_LEVEL_DISABLED |
Functions | |
int | TestFuncNoLogs () |
#define LOG_LEVEL LOG_LEVEL_DISABLED |
Definition at line 9 of file src_nologs.cpp.
int TestFuncNoLogs | ( | ) |
Definition at line 12 of file src_nologs.cpp.
00013 { 00014 // log the function entry log. 00015 LogFuncEntry(); 00016 00017 LogTrace("Trace log %s %f", "Test", 1.066f); 00018 LogDebug("Debug level log" ); 00019 LogInfo("Info level log %d" , 0); 00020 LogWarn("Warn level log" ); 00021 LogError("Error level log" ); 00022 LogFatal("Fatal level log" ); 00023 00024 if(1) 00025 { 00026 // log the function exit . 00027 LogFuncExit(); 00028 return 0; 00029 } 00030 else 00031 { 00032 // log the function exit . 00033 LogFuncExit(); 00034 return -1; 00035 } 00036 00037 }