interface SDKLog {
eventName: string; // e.g. "Records_TS_SDK_CREATE", "Cases_TS_SDK_DELETE"
eventType: EventType; // enum — 'create' | 'read' | 'update' | 'delete'
status: EventStatus; // enum — 'success' | 'failure'
platform: EventPlatform; // enum — 'database' | 'network' (layer where the event occurred)
entityType: EventEntityType; // enum — 'records' | 'cases'
params?: Record<string, unknown>; // document IDs, counts, error details, etc.
message?: string; // optional human-readable description
patientOid?: string; // patient / user OID the event is scoped to
bid?: string; // business / tenant ID the event is scoped to
timestamp: number; // Unix milliseconds
}