firebase-tools-extra
Version:
Extra functionality for firebase-tools with support for emulators and auth through service account.
33 lines (32 loc) • 1.08 kB
TypeScript
export declare const log: {
(message?: any, ...optionalParams: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
/**
* Log info within console
* @param message - Message containing info to log
* @param other - Other values to pass to info
* @returns undefined
*/
export declare function info(message: string, other?: any): void;
/**
* Log a success within console (colorized with green)
* @param message - Success message to log
* @param other - Other values to pass to info
* @returns undefined
*/
export declare function success(message: string, other?: any): void;
/**
* Log a warning within the console (colorized with yellow)
* @param message - Warning message to log
* @param other - Other values to pass to info
* @returns undefined
*/
export declare function warn(message: string, other?: any): void;
/**
* Log an error within console (colorized with red)
* @param message - Error message to log
* @param other - Other values to pass to info
* @returns undefined
*/
export declare function error(message: string, other?: any): void;