export interface LogContext { workflowId?: string; workflowName?: string; nodeId?: string; nodeName?: string; executionId?: string; } export interface OperationContext extends LogContext { operation?: string; recordType?: string; recordId?: string; itemIndex?: number; method?: string; } export interface ILogger { debug(message: string, data?: any, operationContext?: Partial): void; info(message: string, data?: any, operationContext?: Partial): void; warn(message: string, data?: any, operationContext?: Partial): void; audit(message: string, data?: any, operationContext?: Partial): void; error(message: string, error?: Error | any, operationContext?: Partial): void; createChildLogger(operationContext: Partial): ILogger; }