1
1
Fork 0

Formatting changes to make @annando happy

This commit is contained in:
Hypolite Petovan 2016-10-22 13:54:30 -04:00
parent f9d713b228
commit b806f87874
3 changed files with 10 additions and 10 deletions

View file

@ -145,7 +145,7 @@ ON DUPLICATE KEY UPDATE `v` = '%s'",
); );
if ($ret) { if ($ret) {
return $value; return $value;
} }
return $ret; return $ret;
} }

View file

@ -142,7 +142,7 @@ ON DUPLICATE KEY UPDATE `v` = '%s'",
); );
if ($ret) { if ($ret) {
return $value; return $value;
} }
return $ret; return $ret;
} }

View file

@ -734,14 +734,14 @@ function logger($msg, $level = 0) {
$callers = debug_backtrace(); $callers = debug_backtrace();
$logline = sprintf("%s@%s\t[%s]:%s:%s:%s\t%s\n", $logline = sprintf("%s@%s\t[%s]:%s:%s:%s\t%s\n",
datetime_convert(), datetime_convert(),
$process_id, $process_id,
$LOGGER_LEVELS[$level], $LOGGER_LEVELS[$level],
basename($callers[0]['file']), basename($callers[0]['file']),
$callers[0]['line'], $callers[0]['line'],
$callers[1]['function'], $callers[1]['function'],
$msg $msg
); );
$stamp1 = microtime(true); $stamp1 = microtime(true);
@file_put_contents($logfile, $logline, FILE_APPEND); @file_put_contents($logfile, $logline, FILE_APPEND);