From 0f089060d2596bf75f141d1d574f14952bca1066 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 5 Sep 2025 10:25:42 -0500 Subject: Make logs more clear (#8991) --- src/screens/Log.tsx | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'src/screens/Log.tsx') diff --git a/src/screens/Log.tsx b/src/screens/Log.tsx index 2dd7fe84c..aa31e2cea 100644 --- a/src/screens/Log.tsx +++ b/src/screens/Log.tsx @@ -87,7 +87,21 @@ export function LogScreen({}: NativeStackScreenProps< ) : ( )} - {String(entry.message)} + + {entry.context && ( + + ({String(entry.context)}) + + )} + {String(entry.message)} + {entry.metadata && Object.keys(entry.metadata).length > 0 && (expanded.includes(entry.id) ? ( @@ -115,7 +129,9 @@ export function LogScreen({}: NativeStackScreenProps< t.atoms.border_contrast_low, ]}> - {JSON.stringify(entry.metadata, null, 2)} + + {JSON.stringify(entry.metadata, null, 2)} + )} -- cgit 1.4.1