32 #include "libComAPI.h"
68 LIBCOM_API
extern const char * errlogSevEnumString[];
84 #define errMessage(S, PM) \
85 errPrintf(S, __FILE__, __LINE__, "%s", PM)
88 #define epicsPrintf errlogPrintf
91 #define epicsVprintf errlogVprintf
99 EPICS_PRINTF_STYLE(1,2);
106 LIBCOM_API
int errlogVprintf(const
char *pformat, va_list pvar);
119 const
char *pformat, ...) EPICS_PRINTF_STYLE(2,3);
135 const
char *pformat, va_list pvar);
191 LIBCOM_API
int eltc(
int yesno);
215 LIBCOM_API
int errlogInit2(
int bufsize,
int maxMsgSize);
237 LIBCOM_API
void errPrintf(
long status, const
char *pFileName,
int lineno,
238 const
char *pformat, ...) EPICS_PRINTF_STYLE(4,5);
240 LIBCOM_API
int errlogPrintfNoConsole(const
char *pformat, ...)
241 EPICS_PRINTF_STYLE(1,2);
242 LIBCOM_API
int errlogVprintfNoConsole(const
char *pformat,va_list pvar);
251 LIBCOM_API
void errSymLookup(
long status,
char *pBuf,
size_t bufLength);
LIBCOM_API int errlogSevPrintf(const errlogSevEnum severity, const char *pformat,...) EPICS_PRINTF_STYLE(2
LIBCOM_API int errlogRemoveListeners(errlogListener listener, void *pPrivate)
void(* errlogListener)(void *pPrivate, const char *message)
LIBCOM_API int errlogMessage(const char *message)
LIBCOM_API errlogSevEnum errlogGetSevToLog(void)
LIBCOM_API int errlogSetConsole(FILE *stream)
LIBCOM_API const char * errlogGetSevEnumString(errlogSevEnum severity)
LIBCOM_API int errlogInit(int bufsize)
Compiler specific declarations.
LIBCOM_API int LIBCOM_API int errlogVprintf(const char *pformat, va_list pvar)
LIBCOM_API void errSymLookup(long status, char *pBuf, size_t bufLength)
LIBCOM_API int eltc(int yesno)
LIBCOM_API void errPrintf(long status, const char *pFileName, int lineno, const char *pformat,...) EPICS_PRINTF_STYLE(4
LIBCOM_API int errlogInit2(int bufsize, int maxMsgSize)
LIBCOM_API int errlogPrintf(const char *pformat,...) EPICS_PRINTF_STYLE(1
LIBCOM_API int errVerbose
LIBCOM_API void errlogFlush(void)
LIBCOM_API void errlogSetSevToLog(errlogSevEnum severity)
LIBCOM_API int LIBCOM_API int errlogSevVprintf(const errlogSevEnum severity, const char *pformat, va_list pvar)
LIBCOM_API void errlogAddListener(errlogListener listener, void *pPrivate)
LIBCOM_API const char * errlogSevEnumString[]