From 4f35120ff55ed7405660bb65ab9921bf6159e8ee Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Sat, 16 Dec 2023 11:13:19 +0000 Subject: [PATCH] Update log lines for dark mode --- crates/librqbit/webui/src/components/LogLine.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/crates/librqbit/webui/src/components/LogLine.tsx b/crates/librqbit/webui/src/components/LogLine.tsx index 0df5845..ee14ed3 100644 --- a/crates/librqbit/webui/src/components/LogLine.tsx +++ b/crates/librqbit/webui/src/components/LogLine.tsx @@ -31,13 +31,16 @@ const LogSpan: React.FC<{ span: Span }> = ({ span }) => ( <> {span.name} + : ); const Fields: React.FC<{ fields: JSONLogLine["fields"] }> = ({ fields }) => ( {fields.message} @@ -72,7 +75,9 @@ export const LogLine: React.FC<{ line: JSONLogLine }> = React.memo( return (

- {parsed.timestamp} + + {parsed.timestamp} + {parsed.level} @@ -80,7 +85,9 @@ export const LogLine: React.FC<{ line: JSONLogLine }> = React.memo( {parsed.spans?.map((span, i) => )} - {parsed.target} + + {parsed.target} +

);