feat: adding thread ID to logs + filter in the client (#10150)

This commit is contained in:
jif-oai authored and GitHub committed 2026-01-29 16:53:30 +01:00
1 parent b654b7a9ae
commit 89c5f3c4d4
8 files changed
+203 -42

No files matched your search

+2 -1
View File
@@ -214,7 +214,7 @@ FROM threads
}
let mut builder = QueryBuilder::<Sqlite>::new(
"INSERT INTO logs (ts, ts_nanos, level, target, message, module_path, file, line) ",
"INSERT INTO logs (ts, ts_nanos, level, target, message, thread_id, module_path, file, line) ",
);
builder.push_values(entries, |mut row, entry| {
row.push_bind(entry.ts)
@@ -222,6 +222,7 @@ FROM threads
.push_bind(&entry.level)
.push_bind(&entry.target)
.push_bind(&entry.message)
.push_bind(&entry.thread_id)
.push_bind(&entry.module_path)
.push_bind(&entry.file)
.push_bind(entry.line);