UNPKG

@tsparticles/engine

Version:

Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.

12 lines (11 loc) 660 B
export interface ILogger { debug(this: void, message?: unknown, ...optionalParams: unknown[]): void; error(this: void, message?: unknown, ...optionalParams: unknown[]): void; info(this: void, message?: unknown, ...optionalParams: unknown[]): void; log(this: void, message?: unknown, ...optionalParams: unknown[]): void; trace(this: void, ...data: unknown[]): void; verbose(this: void, message?: unknown, ...optionalParams: unknown[]): void; warning(this: void, message?: unknown, ...optionalParams: unknown[]): void; } export declare function setLogger(logger: Partial<ILogger>): void; export declare function getLogger(): ILogger;