logging: move parens to be in front of function #126

Merged
MartinFouilleul merged 2 commits from fix-log-parens into main 2023-09-18 10:19:24 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 44477782d8 - Show all commits

View File

@ -60,7 +60,7 @@ void platform_log_push(oc_log_output* output,
if(isatty(fd))
{
fprintf(output->f,
"%s%s:%s %s() in %s:%i: ",
"%s%s:%s %s in %s():%i: ",
OC_LOG_FORMATS[level],
OC_LOG_HEADINGS[level],
OC_LOG_FORMAT_STOP,
@ -71,7 +71,7 @@ void platform_log_push(oc_log_output* output,
else
{
fprintf(output->f,
"%s: %s() in %s:%i: ",
"%s: %s in %s():%i: ",
OC_LOG_HEADINGS[level],
function,
file,