17 #define CRINIT_PRINT_PREFIX_MAX_LEN 32
22 #define CRINIT_PRINT_PREFIX "[CRINIT] "
29 #define CRINIT_PRINT_EMPTY_LINE "%s", ""
40 #if __GNUC__ >= 12 || __clang_major__ >= 9
41 #define __FILE_BASENAME__ __FILE_NAME__
43 #define __FILE_BASENAME__ (__builtin_strrchr("/" __FILE__, '/') + 1)
112 #define crinitErrPrint(...) crinitErrPrintFFL(__FILE_BASENAME__, __func__, __LINE__, __VA_ARGS__)
134 #define crinitErrnoPrint(...) crinitErrnoPrintFFL(__FILE_BASENAME__, __func__, __LINE__, __VA_ARGS__)
static crinitGlobOptStore_t crinitGenericGlobOptHelper __attribute__((unused))
void crinitSetInfoStream(FILE *stream)
Definition: logio.c:49
void crinitSetErrStream(FILE *stream)
Definition: logio.c:55
void crinitSetPrintPrefix(const char *prefix)
Definition: logio.c:43
void crinitErrPrintFFL(const char *file, const char *func, int line, const char *format,...) __attribute__((format(printf
void crinitInfoPrint(const char *format,...) __attribute__((format(printf
void crinitErrnoPrintFFL(const char *file, const char *func, int line, const char *format,...) __attribute__((format(printf
void crinitSetUseSyslog(bool sl)
Definition: logio.c:61
void void crinitDbgInfoPrint(const char *format,...) __attribute__((format(printf