time output in log

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

No files matched your search

+1
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));
}
}