@trycourier/courier-js
Version:
A browser-safe API wrapper
11 lines (10 loc) • 374 B
TypeScript
export declare class Logger {
private readonly showLogs;
private readonly PREFIX;
constructor(showLogs: boolean);
warn(message: string, ...args: any[]): void;
log(message: string, ...args: any[]): void;
error(message: string, ...args: any[]): void;
debug(message: string, ...args: any[]): void;
info(message: string, ...args: any[]): void;
}