sfcc-cip-analytics-client
Version:
SFCC Commerce Intelligence Platform Analytics Client
22 lines (21 loc) • 714 B
TypeScript
export interface Logger {
debug(message: string, ...args: any[]): void;
info(message: string, ...args: any[]): void;
warn(message: string, ...args: any[]): void;
error(message: string, ...args: any[]): void;
}
export declare class DefaultLogger implements Logger {
private readonly debugEnabled;
constructor();
debug(message: string, ...args: any[]): void;
info(message: string, ...args: any[]): void;
warn(message: string, ...args: any[]): void;
error(message: string, ...args: any[]): void;
}
export declare class NoOpLogger implements Logger {
debug(): void;
info(): void;
warn(): void;
error(): void;
}
export declare const defaultLogger: DefaultLogger;