node-logger
Preparing search index...
TextFormatter
Class TextFormatter
Implements
Formatter
Index
Constructors
constructor
Properties
Colors
Methods
format
Constructors
constructor
new
TextFormatter
(
includeTimestamp
?:
boolean
,
colored
?:
boolean
)
:
TextFormatter
Parameters
includeTimestamp
:
boolean
= true
colored
:
boolean
= true
Returns
TextFormatter
Properties
Static
Colors
Colors
:
{
BLUE
:
string
;
CYAN
:
string
;
GRAY
:
string
;
GREEN
:
string
;
MAGENTA
:
string
;
ORANGE
:
string
;
RED
:
string
;
RED_BG
:
string
;
RESET
:
string
;
}
= ...
Methods
format
format
(
entry
:
LogEntry
)
:
string
Parameters
entry
:
LogEntry
Returns
string
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
Colors
Methods
format
node-logger
Loading...