diff --git a/lib/commands/bidi/models.ts b/lib/commands/bidi/models.ts index e1e07d5c..42c13636 100644 --- a/lib/commands/bidi/models.ts +++ b/lib/commands/bidi/models.ts @@ -38,6 +38,7 @@ export function makeLogEntryAddedEvent(entry: LogEntry, context: string, type: s level: adjustLogLevel(entry.level), source: { realm: '', + context, }, text: entry.message, timestamp: entry.timestamp, diff --git a/lib/commands/bidi/types.ts b/lib/commands/bidi/types.ts index f81241db..8872aeea 100644 --- a/lib/commands/bidi/types.ts +++ b/lib/commands/bidi/types.ts @@ -5,6 +5,7 @@ interface BiDiEvent { interface LogEntrySource { realm: string; + context?: string; } export type BiDiLogLevel = 'debug' | 'info' | 'warn' | 'error';