| 237 | } |
| 238 | |
| 239 | int logmsgf(loglvl lvl, FILE *f, const char *fmt, ...) { |
| 240 | va_list args; |
| 241 | va_start(args, fmt); |
| 242 | # ifndef BUILDING_TOOLS |
| 243 | int ret = gbl_logmsg_ctrace ? ctracev(fmt, args) : logmsgvf(lvl, f, fmt, args); |
| 244 | # else |
| 245 | int ret = logmsgvf(lvl, f, fmt, args); |
| 246 | # endif |
| 247 | va_end(args); |
| 248 | return ret; |
| 249 | } |
| 250 | |
| 251 | int logmsgperror(const char *s) { |
| 252 | int ret; |
no test coverage detected