UNPKG

@jin7942/ray

Version:

Lightweight CI/CD deployment tool powered by Docker and Git

26 lines (25 loc) 595 B
/** * Global logger utility * - Writes to both console and local file (under /logs directory) */ export declare const logger: { /** * Info-level log (green) * * @param msg - The message to log */ info: (msg: string) => void; /** * Warning-level log (yellow) * * @param msg - The message to log */ warn: (msg: string) => void; /** * Error-level log (red) * Also includes stack trace if an Error object is passed * * @param msg - Message string or Error object */ error: (msg: string | Error) => void; };