fix order of file vs function in logging function arguments
This commit is contained in:
parent
c4a1ad52a0
commit
d5bd7ea2bb
|
@ -50,7 +50,7 @@ void oc_log_ext(oc_log_level level,
|
|||
{
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
platform_log_push(__logConfig.output, level, file, function, line, fmt, ap);
|
||||
platform_log_push(__logConfig.output, level, function, file, line, fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -356,8 +356,8 @@ void log_entry_ui(oc_debug_overlay* overlay, log_entry* entry)
|
|||
|
||||
oc_str8 loc = oc_str8_pushf(scratch.arena,
|
||||
"%.*s() in %.*s:%i:",
|
||||
oc_str8_ip(entry->file),
|
||||
oc_str8_ip(entry->function),
|
||||
oc_str8_ip(entry->file),
|
||||
entry->line);
|
||||
oc_ui_label_str8(loc);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue