@ambitiondev/cookiebot-common
Version:
Common logic for Cookiebot packages
8 lines (7 loc) • 345 B
TypeScript
export declare function useLogger(): {
deprecationNotice: (oldMethod: string, newMethod: string) => void;
info: (message: string, ...args: unknown[]) => void;
error: (message: string, ...args: unknown[]) => void;
success: (message: string, ...args: unknown[]) => void;
warn: (message: string, ...args: unknown[]) => void;
};