UNPKG

@sap/cli-core

Version:

Command-Line Interface (CLI) Core Module

20 lines (19 loc) 579 B
import { LogLevel } from "../types"; import { Logger, Method } from "./types"; type CustomLogger = { output?: Method; error?: Method; warn?: Method; info?: Method; log?: Method; debug?: Method; trace?: Method; }; export type Configuration = { logLevel?: LogLevel; loggers?: RegExp | "RESET"; customLogger?: CustomLogger | "RESET"; }; export declare const configure: ({ logLevel: newLogLevel, loggers: newLoggers, customLogger: newCustomLogger, }: Configuration) => void; export declare const get: (namespace: string) => Logger; export {};