dclint
Version:
A command-line tool for validating and enforcing best practices in Docker Compose files.
22 lines (21 loc) • 663 B
TypeScript
export declare const LOG_SOURCE: {
readonly LINTER: "LINTER";
readonly CONFIG: "CONFIG";
readonly CLI: "CLI";
readonly UTIL: "UTIL";
readonly RULE: "RULE";
};
type LogSource = (typeof LOG_SOURCE)[keyof typeof LOG_SOURCE];
declare class Logger {
private static instance;
private readonly debugMode;
private constructor();
static init(debug?: boolean): Logger;
private static formatMessage;
private static getColoredLevel;
debug(source: LogSource, ...options: unknown[]): void;
info(...options: unknown[]): void;
warn(...options: unknown[]): void;
error(...options: unknown[]): void;
}
export { Logger };