@omlet/cli
Version:
Omlet (https://omlet.dev) is a component analytics tool that uses a CLI to scan your codebase to detect components and their usage. Get real usage insights from customizable charts to measure adoption across all projects and identify opportunities to impr
14 lines (13 loc) • 438 B
TypeScript
import winston from "winston";
export declare const logger: winston.Logger;
export declare enum LogLevel {
Error = "error",
Warn = "warn",
Info = "info",
Debug = "debug",
Trace = "trace"
}
export declare function setLogLevel(level: LogLevel): void;
export declare function getLogFilePath(): string;
export declare function logError<T extends Error>(error: T): void;
export declare function endLogger(): Promise<void>;