UNPKG

@atomiqlabs/base

Version:

Base classes and interfaces for atomiq protocol

18 lines (17 loc) 425 B
/** * Type of the logger * * @internal */ export type LoggerType = { debug: (msg: string, ...args: any[]) => void; info: (msg: string, ...args: any[]) => void; warn: (msg: string, ...args: any[]) => void; error: (msg: string, ...args: any[]) => void; }; /** * Getter function to create a logger instance * * @internal */ export declare function getLogger(prefix: string): LoggerType;