This commit is contained in:
metacryst
2026-01-09 11:14:27 -06:00
parent cf03c95664
commit 637c9e4674
2149 changed files with 527743 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import { TTY_WIDTH, indent, sliceAnsi, stringWidth, stripAnsi, wordWrap } from '@ionic/utils-terminal';
import { Logger, CreateTaggedFormatterOptions } from './logger';
import { OutputStrategy } from './output';
export { TTY_WIDTH, indent, sliceAnsi, stringWidth, stripAnsi, wordWrap };
export * from './colors';
export * from './logger';
export * from './output';
export * from './tasks';
export interface CreateDefaultLoggerOptions {
/**
* Specify a custom output strategy to use for the logger.
*
* By default, the logger uses a output strategy with process.stdout and no colors.
*/
output?: OutputStrategy;
/**
* Specify custom logger formatter options.
*/
formatterOptions?: CreateTaggedFormatterOptions;
}
/**
* Creates a logger instance with good defaults.
*/
export declare function createDefaultLogger({ output, formatterOptions }?: CreateDefaultLoggerOptions): Logger;