Lines Matching refs:fmt
156 error(const char *fmt,...) in error() argument
160 va_start(args, fmt); in error()
161 do_log(SYSLOG_LEVEL_ERROR, fmt, args); in error()
166 sigdie(const char *fmt,...) in sigdie() argument
171 va_start(args, fmt); in sigdie()
172 do_log(SYSLOG_LEVEL_FATAL, fmt, args); in sigdie()
182 logit(const char *fmt,...) in logit() argument
186 va_start(args, fmt); in logit()
187 do_log(SYSLOG_LEVEL_INFO, fmt, args); in logit()
194 verbose(const char *fmt,...) in verbose() argument
198 va_start(args, fmt); in verbose()
199 do_log(SYSLOG_LEVEL_VERBOSE, fmt, args); in verbose()
206 debug(const char *fmt,...) in debug() argument
210 va_start(args, fmt); in debug()
211 do_log(SYSLOG_LEVEL_DEBUG1, fmt, args); in debug()
216 debug2(const char *fmt,...) in debug2() argument
220 va_start(args, fmt); in debug2()
221 do_log(SYSLOG_LEVEL_DEBUG2, fmt, args); in debug2()
226 debug3(const char *fmt,...) in debug3() argument
230 va_start(args, fmt); in debug3()
231 do_log(SYSLOG_LEVEL_DEBUG3, fmt, args); in debug3()
342 do_log2(LogLevel level, const char *fmt,...) in do_log2() argument
346 va_start(args, fmt); in do_log2()
347 do_log(level, fmt, args); in do_log2()
352 do_log(LogLevel level, const char *fmt, va_list args) in do_log() argument
402 snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", txt, fmt); in do_log()
405 vsnprintf(msgbuf, sizeof(msgbuf), fmt, args); in do_log()