17 #include "libComAPI.h" 44 LIBCOM_API
extern const char * errlogSevEnumString[];
48 #define errMessage(S, PM) \ 49 errPrintf(S, __FILE__, __LINE__, "%s", PM) 51 #define epicsPrintf errlogPrintf 52 #define epicsVprintf errlogVprintf 56 LIBCOM_API
int errlogVprintf(const
char *pformat, va_list pvar);
60 const
char *pformat, va_list pvar);
71 LIBCOM_API
int eltc(
int yesno);
79 const
char *pformat, ...) EPICS_PRINTF_STYLE(4,5);
82 EPICS_PRINTF_STYLE(1,2);
85 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)
LIBCOM_API int errlogMessage(const char *message)
LIBCOM_API errlogSevEnum errlogGetSevToLog(void)
LIBCOM_API int errlogSetConsole(FILE *stream)
void(* errlogListener)(void *pPrivate, const char *message)
LIBCOM_API const char * errlogGetSevEnumString(errlogSevEnum severity)
LIBCOM_API int errlogInit(int bufsize)
LIBCOM_API int LIBCOM_API int errlogVprintf(const char *pformat, va_list pvar)
#define EPICS_PRINTF_STYLE(f, a)
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)
Compiler specific declarations.
LIBCOM_API void LIBCOM_API int LIBCOM_API int errlogVprintfNoConsole(const char *pformat, va_list pvar)
LIBCOM_API void LIBCOM_API int errlogPrintfNoConsole(const char *pformat,...) EPICS_PRINTF_STYLE(1
LIBCOM_API void errlogAddListener(errlogListener listener, void *pPrivate)
LIBCOM_API const char * errlogSevEnumString[]