feat(starter): added duration column to logs db, track duration of entire workflow

This commit is contained in:
Waleed Latif
2025-02-19 14:32:15 -08:00
parent b3d8da1ee7
commit 8dc28230f3
6 changed files with 708 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ export interface LogEntry {
level: string
message: string
createdAt: Date
duration?: string
}
export async function persistLog(log: LogEntry) {