UNPKG

774 BTypeScriptView Raw
1import { Logger, CreateTaggedFormatterOptions } from './logger';
2import { OutputStrategy } from './output';
3export * from './colors';
4export * from './format';
5export * from './logger';
6export * from './output';
7export * from './tasks';
8export interface CreateDefaultLoggerOptions {
9 /**
10 * Specify a custom output strategy to use for the logger.
11 *
12 * By default, the logger uses a output strategy with process.stdout and no colors.
13 */
14 output?: OutputStrategy;
15 /**
16 * Specify custom logger formatter options.
17 */
18 formatterOptions?: CreateTaggedFormatterOptions;
19}
20/**
21 * Creates a logger instance with good defaults.
22 */
23export declare function createDefaultLogger({ output, formatterOptions }?: CreateDefaultLoggerOptions): Logger;