Interface ILoggerInstanceCallbacks
interface ILoggerInstanceCallbacks { onDebug(clientId: string, topic: string, ...args: any[]): void; onDispose(clientId: string): void; onInfo(clientId: string, topic: string, ...args: any[]): void; onInit(clientId: string): void; onLog(clientId: string, topic: string, ...args: any[]): void;} Methods
onDebug
onDebug(clientId: string, topic: string, ...args: any[]): void Parameters
- clientId: string
- topic: string
- ...args: any[]
Returns void
onDispose
onDispose(clientId: string): void
onInfo
onInfo(clientId: string, topic: string, ...args: any[]): void Parameters
- clientId: string
- topic: string
- ...args: any[]
Returns void
onInit
onInit(clientId: string): void
onLog
onLog(clientId: string, topic: string, ...args: any[]): void Parameters
- clientId: string
- topic: string
- ...args: any[]
Returns void
Callbacks for managing logger instance lifecycle and log events. Used by LoggerInstance to hook into initialization, disposal, and logging operations.