Class: LoggerStyle
Logger utility that applies a style to a string.
Since
1.0.0
Constructors
new LoggerStyle()
new LoggerStyle(
resolvable
:LoggerStyleResolvable
):LoggerStyle
Parameters
Parameter | Type |
---|---|
resolvable | LoggerStyleResolvable |
Returns
Defined in
projects/plugins/packages/logger/src/lib/LoggerStyle.ts:10
Properties
style
readonly
style:Color
Defined in
projects/plugins/packages/logger/src/lib/LoggerStyle.ts:8
Methods
run()
run(
string
:string
|number
):string
Applies the style to a string.
Parameters
Parameter | Type | Description |
---|---|---|
string | string | number | The value to apply the style to. |
Returns
string
Since
1.0.0