mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 15:43:13 +09:00
Label Factorio output in the console with its log level
The Web UI console rendered server level entries as bare parsed Factorio output, while every other level was prefixed with its name. Nothing in a line distinguished what the game wrote from what Clusterio wrote about it, which matters more now that both modes of the filter carry a mix of the two. Emit the [server] prefix for those entries as well, matching what TerminalFormat already does for the host and controller logs, and style the level the same bold the terminal colourises it with. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
16092ec967
commit
71db8e57f5
2 files changed
+8
-6
No files matched your search
@@ -257,6 +257,10 @@ body {
|
||||
color: #ad3939;
|
||||
}
|
||||
|
||||
.log-server {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.log-fatal {
|
||||
font-weight: bold;
|
||||
background-color: #ad3939;
|
||||
|
||||
Reference in new issue
Block a user