lottie-color-manager
Version:
A library for managing colors in Lottie animations
37 lines (36 loc) • 734 B
TypeScript
/**
* Log levels for the library
*/
export declare enum LogLevel {
NONE = 0,
ERROR = 1,
WARN = 2,
INFO = 3,
DEBUG = 4
}
/**
* Simple logger for the library
*/
export declare class Logger {
private static level;
/**
* Set the global log level
*/
static setLevel(level: LogLevel): void;
/**
* Log a debug message
*/
static debug(message: string, ...args: any[]): void;
/**
* Log an info message
*/
static info(message: string, ...args: any[]): void;
/**
* Log a warning message
*/
static warn(message: string, ...args: any[]): void;
/**
* Log an error message
*/
static error(message: string, ...args: any[]): void;
}