# Class: DefaultFormatter
@boll/cli › Globals › DefaultFormatter
# Class: DefaultFormatter
# Hierarchy
- DefaultFormatter
# Implements
# Index
# Methods
# Methods
# error
▸ error(str
: string): string
Implementation of Formatter
Defined in lib/default-formatter.ts:16
Parameters:
Name | Type |
---|---|
str | string |
Returns: string
# finishWithErrors
▸ finishWithErrors(): string
Implementation of Formatter
Defined in lib/default-formatter.ts:4
Returns: string
# finishWithWarnings
▸ finishWithWarnings(): string
Implementation of Formatter
Defined in lib/default-formatter.ts:7
Returns: string
# info
▸ info(str
: string): string
Implementation of Formatter
Defined in lib/default-formatter.ts:13
Parameters:
Name | Type |
---|---|
str | string |
Returns: string
# warn
▸ warn(str
: string): string
Implementation of Formatter
Defined in lib/default-formatter.ts:10
Parameters:
Name | Type |
---|---|
str | string |
Returns: string