logging: move parens to be in front of function #126
|
@ -60,7 +60,7 @@ void platform_log_push(oc_log_output* output,
|
||||||
if(isatty(fd))
|
if(isatty(fd))
|
||||||
{
|
{
|
||||||
fprintf(output->f,
|
fprintf(output->f,
|
||||||
"%s%s:%s %s() in %s:%i: ",
|
"%s%s:%s %s in %s():%i: ",
|
||||||
OC_LOG_FORMATS[level],
|
OC_LOG_FORMATS[level],
|
||||||
OC_LOG_HEADINGS[level],
|
OC_LOG_HEADINGS[level],
|
||||||
OC_LOG_FORMAT_STOP,
|
OC_LOG_FORMAT_STOP,
|
||||||
|
@ -71,7 +71,7 @@ void platform_log_push(oc_log_output* output,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fprintf(output->f,
|
fprintf(output->f,
|
||||||
"%s: %s() in %s:%i: ",
|
"%s: %s in %s():%i: ",
|
||||||
OC_LOG_HEADINGS[level],
|
OC_LOG_HEADINGS[level],
|
||||||
function,
|
function,
|
||||||
file,
|
file,
|
||||||
|
|
Loading…
Reference in New Issue