src/log.c
changeset 209 d240da5dbeb5
parent 195 42aedce3e2eb
child 216 a10ba529ae39
equal deleted inserted replaced
208:4c834d48e602 209:d240da5dbeb5
    83 
    83 
    84     // output the header
    84     // output the header
    85     buf_ptr += str_advance(NULL, &buf_size, str_append_fmt(buf_ptr, buf_size, "[%5s] %20s : ", tag, func));
    85     buf_ptr += str_advance(NULL, &buf_size, str_append_fmt(buf_ptr, buf_size, "[%5s] %20s : ", tag, func));
    86     
    86     
    87     // output the user data
    87     // output the user data
    88     buf_ptr += str_advance(NULL, &buf_size, str_append_fmt_va(buf_ptr, buf_size, user_fmt, user_fmtargs));
    88     if (user_fmt)
       
    89         buf_ptr += str_advance(NULL, &buf_size, str_append_fmt_va(buf_ptr, buf_size, user_fmt, user_fmtargs));
    89     
    90     
    90     // output the suffix
    91     // output the suffix
    91     if (log_fmt) {
    92     if (log_fmt) {
    92         va_list vargs;
    93         va_list vargs;
    93 
    94