SYMBOL INDEX (123 symbols across 33 files) FILE: build.config.ts method "rollup:options" (line 8) | "rollup:options"(_, options) { FILE: examples/box.ts function main (line 4) | function main() { FILE: examples/mock.ts function mockFn (line 3) | function mockFn(type) { FILE: examples/no-width.ts function main (line 3) | function main() { FILE: examples/prompt.ts function main (line 3) | async function main() { FILE: examples/sample.ts function main (line 3) | async function main() { FILE: examples/spam.ts function waitFor (line 3) | function waitFor(ms) { function spam (line 7) | async function spam({ count, delay }) { FILE: examples/spinner.ts function main (line 3) | async function main() { FILE: examples/tree.ts function main (line 4) | function main() { FILE: examples/utils/index.ts function reporterDemo (line 4) | function reporterDemo( FILE: examples/utils/sentence.ts function randomSentence (line 35) | function randomSentence() { FILE: examples/wrap-all.ts function foo (line 3) | function foo() { FILE: examples/wrap-console.ts function foo (line 3) | function foo() { function _trace (line 8) | function _trace() { function trace (line 11) | function trace() { FILE: examples/wrap-std.ts function foo (line 3) | function foo() { FILE: src/basic.ts function createConsola (line 14) | function createConsola( FILE: src/browser.ts function createConsola (line 15) | function createConsola(options: Partial = {}) { FILE: src/consola.ts class Consola (line 21) | class Consola { method constructor (line 39) | constructor(options: Partial = {}) { method level (line 92) | get level() { method level (line 101) | set level(level) { method prompt (line 118) | prompt(message: string, opts?: T) { method create (line 131) | create(options: Partial): ConsolaInstance { method withDefaults (line 150) | withDefaults(defaults: InputLogObject): ConsolaInstance { method withTag (line 166) | withTag(tag: string): ConsolaInstance { method addReporter (line 181) | addReporter(reporter: ConsolaReporter) { method removeReporter (line 193) | removeReporter(reporter: ConsolaReporter) { method setReporters (line 211) | setReporters(reporters: ConsolaReporter[]) { method wrapAll (line 216) | wrapAll() { method restoreAll (line 221) | restoreAll() { method wrapConsole (line 229) | wrapConsole() { method restoreConsole (line 245) | restoreConsole() { method wrapStd (line 258) | wrapStd() { method _wrapStream (line 263) | _wrapStream(stream: NodeJS.WriteStream | undefined, type: LogType) { method restoreStd (line 282) | restoreStd() { method _restoreStream (line 287) | _restoreStream(stream?: NodeJS.WriteStream) { method pauseLogs (line 301) | pauseLogs() { method resumeLogs (line 308) | resumeLogs() { method mockTypes (line 323) | mockTypes(mockFn?: ConsolaOptions["mockFn"]) { method _wrapLogFn (line 343) | _wrapLogFn(defaults: InputLogObject, isRaw?: boolean) { method _logFn (line 353) | _logFn(defaults: InputLogObject, args: any[], isRaw?: boolean) { method _log (line 451) | _log(logObj: LogObject) { function _normalizeLogLevel (line 460) | function _normalizeLogLevel( type LogFn (line 477) | interface LogFn { type ConsolaInstance (line 481) | type ConsolaInstance = Consola & Record; function createConsola (line 505) | function createConsola( FILE: src/constants.ts type LogLevel (line 9) | type LogLevel = 0 | 1 | 2 | 3 | 4 | 5 | (number & {}); type LogType (line 45) | type LogType = FILE: src/index.ts function createConsola (line 17) | function createConsola( function _getDefaultLogLevel (line 44) | function _getDefaultLogLevel() { FILE: src/prompt.ts type SelectOption (line 3) | type SelectOption = { type PromptCommonOptions (line 11) | type PromptCommonOptions = { type TextPromptOptions (line 26) | type TextPromptOptions = PromptCommonOptions & { type ConfirmPromptOptions (line 53) | type ConfirmPromptOptions = PromptCommonOptions & { type SelectPromptOptions (line 66) | type SelectPromptOptions = PromptCommonOptions & { type MultiSelectOptions (line 84) | type MultiSelectOptions = PromptCommonOptions & { type PromptOptions (line 109) | type PromptOptions = type inferPromptReturnType (line 115) | type inferPromptReturnType = type inferPromptCancalReturnType (line 128) | type inferPromptCancalReturnType = T extends { function prompt (line 150) | async function prompt< FILE: src/reporters/basic.ts class BasicReporter (line 13) | class BasicReporter implements ConsolaReporter { method formatStack (line 14) | formatStack(stack: string, message: string, opts: FormatOptions) { method formatError (line 19) | formatError(err: any, opts: FormatOptions): string { method formatArgs (line 32) | formatArgs(args: any[], opts: FormatOptions) { method formatDate (line 45) | formatDate(date: Date, opts: FormatOptions) { method filterAndJoin (line 49) | filterAndJoin(arr: any[]) { method formatLogObj (line 53) | formatLogObj(logObj: LogObject, opts: FormatOptions) { method log (line 78) | log(logObj: LogObject, ctx: { options: ConsolaOptions }) { FILE: src/reporters/browser.ts class BrowserReporter (line 3) | class BrowserReporter { method constructor (line 9) | constructor(options: any) { method _getLogFn (line 23) | _getLogFn(level: number) { method log (line 33) | log(logObj: LogObject) { FILE: src/reporters/fancy.ts constant TYPE_COLOR_MAP (line 11) | const TYPE_COLOR_MAP: { [k in LogType]?: string } = { constant LEVEL_COLOR_MAP (line 19) | const LEVEL_COLOR_MAP: { [k in LogLevel]?: string } = { constant TYPE_ICONS (line 26) | const TYPE_ICONS: { [k in LogType]?: string } = { function stringWidth (line 40) | function stringWidth(str: string) { class FancyReporter (line 49) | class FancyReporter extends BasicReporter { method formatStack (line 50) | formatStack(stack: string, message: string, opts?: FormatOptions) { method formatType (line 66) | formatType(logObj: LogObject, isBadge: boolean, opts: FormatOptions) { method formatLogObj (line 86) | formatLogObj(logObj: LogObject, opts: FormatOptions) { function characterFormat (line 137) | function characterFormat(str: string) { function getColor (line 147) | function getColor(color = "white") { function getBgColor (line 151) | function getBgColor(color = "bgWhite") { FILE: src/types.ts type ConsolaOptions (line 3) | interface ConsolaOptions { type FormatOptions (line 68) | interface FormatOptions { type InputLogObject (line 104) | interface InputLogObject { type LogObject (line 148) | interface LogObject extends InputLogObject { type ConsolaReporter (line 180) | interface ConsolaReporter { FILE: src/utils/box.ts type BoxBorderStyle (line 4) | type BoxBorderStyle = { type BoxStyle (line 116) | type BoxStyle = { type BoxOpts (line 192) | type BoxOpts = { function box (line 222) | function box(text: string, _opts: BoxOpts = {}) { FILE: src/utils/color.ts function replaceClose (line 33) | function replaceClose( function clearBleed (line 45) | function clearBleed( function filterEmpty (line 57) | function filterEmpty( function init (line 75) | function init(open: number, close: number, replace?: string) { type ColorName (line 123) | type ColorName = keyof typeof colorDefs; type ColorFunction (line 124) | type ColorFunction = (text: string | number) => string; function createColors (line 132) | function createColors(useColor = isColorSupported) { function getColor (line 149) | function getColor( function colorize (line 162) | function colorize(color: ColorName, text: string | number): string { FILE: src/utils/error.ts function parseStack (line 8) | function parseStack(stack: string, message: string) { FILE: src/utils/format.ts constant FORMAT_ARGS (line 4) | const FORMAT_ARGS = [ function compileFormat (line 22) | function compileFormat(format: string) { function formatString (line 45) | function formatString(format: string, argv: any) { FILE: src/utils/log.ts function isPlainObject (line 6) | function isPlainObject(obj: any) { function isLogObj (line 16) | function isLogObj(arg: any) { FILE: src/utils/stream.ts function writeStream (line 14) | function writeStream(data: any, stream: NodeJS.WriteStream) { FILE: src/utils/string.ts function stripAnsi (line 14) | function stripAnsi(text: string) { function centerAlign (line 27) | function centerAlign(str: string, len: number, space = " ") { function rightAlign (line 50) | function rightAlign(str: string, len: number, space = " ") { function leftAlign (line 71) | function leftAlign(str: string, len: number, space = " ") { function align (line 89) | function align( FILE: src/utils/tree.ts type TreeItemObject (line 3) | type TreeItemObject = { type TreeItem (line 20) | type TreeItem = string | TreeItemObject; type TreeOptions (line 22) | type TreeOptions = { function formatTree (line 60) | function formatTree(items: TreeItem[], options?: TreeOptions): string { function _buildTree (line 75) | function _buildTree(items: TreeItem[], options?: TreeOptions): string[] { FILE: test/consola.test.ts method log (line 18) | log(logObj) { method log (line 40) | log(logObj) { function wait (line 61) | function wait(delay) {