time output in log

This commit is contained in:
Sebastian Frank
2019-03-08 11:09:50 +01:00
parent c1230087e6
commit 60f6d33eda
2 changed files with 4 additions and 4 deletions

View File

@@ -163,6 +163,7 @@ if (COCKPIT_ADMIN && !COCKPIT_API_REQUEST) {
if (preg_match('/^\\+/', $l->out)) {
$logstr .= '<h3>'.htmlspecialchars($l->out).'</h3>';
} else {
$logstr .= '<div class="timetext">'.$l->time.'s</div>';
$logstr .= preg_replace(array_keys($colors), $colors, htmlspecialchars($l->out));
}
}