UNPKG

@computer-use/provider-interfaces

Version:

Public provider interfaces for @computer-use/nut-js

10 lines (9 loc) 295 B
export type LogFunction = (message: string, data?: {}) => void; export type ErrorLogFunction = (error: Error, data?: {}) => void; export interface LogProviderInterface { trace: LogFunction; debug: LogFunction; info: LogFunction; warn: LogFunction; error: ErrorLogFunction; }