UNPKG

rolldown

Version:

Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.

7 lines (6 loc) 430 B
import type { LogHandler } from '../types/misc'; import type { Plugin } from '../plugin'; import { type LogLevelOption } from './logging'; import type { InputOptions } from '../options/input-options'; export declare function getLogger(plugins: Plugin[], onLog: LogHandler, logLevel: LogLevelOption): LogHandler; export declare const getOnLog: (config: InputOptions, logLevel: LogLevelOption, printLog?: LogHandler) => LogHandler;