dclint
Version:
A command-line tool for validating and enforcing best practices in Docker Compose files.
21 lines (20 loc) • 559 B
TypeScript
declare enum LogSource {
LINTER = "LINTER",
CONFIG = "CONFIG",
CLI = "CLI",
UTIL = "UTIL",
RULE = "RULE"
}
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 { LogSource, Logger };