42 #ifndef telplugins_logging_apiH
43 #define telplugins_logging_apiH
48 #if defined(__cplusplus)
70 clError = CL_PRIO_ERROR,
71 clInfo = CL_PRIO_INFORMATION,
72 clDebug = CL_PRIO_DEBUG,
73 clWarning = CL_PRIO_WARNING
81 TLP_C_DS
bool tlp_cc tpEnableLoggingToConsole(
void);
88 TLP_C_DS
bool tlp_cc tpDisableLoggingToConsole(
void);
95 TLP_C_DS
bool tlp_cc tpEnableLoggingToFile(
char* fName);
102 TLP_C_DS
bool tlp_cc tpDisableLoggingToFile();
119 TLP_C_DS
bool tlp_cc tpSetLogLevel(
const char* lvl);
134 TLP_C_DS
char* tlp_cc tpGetLogLevel(
void);
144 TLP_C_DS
char* tlp_cc tpGetLogFileName(
void);
152 TLP_C_DS
void tlp_cc tpLogMsg(
enum CLogLevel lvl,
const char* msg);
155 #if defined(__cplusplus)