Global

Type Definitions

dateTime

Default options for dateTime segment

Properties:
Name Type Default Description
show boolean true

Show/hide time & date

color number ansiColors.yellow

Date & time color

format format

Default date & time format

debugPrintOptions

Generic debug print function option

Properties:
Name Type Description
level number

Log Level

tag string

Tag to print

color string

Print color at this log level

fileLocation

File location segment properties

Properties:
Name Type Default Description
show boolean true

Show/hide file name

color number ansiColors.magenta

Date & time color

format

Default date & time format

Properties:
Name Type Default Description
year string "numeric"

Current year

month string "short"

Current month

day string "numeric"

Current day

hour string "2-digit"

Current hour

minute string "2-digit"

Current minute

second string "2-digit"

Current second

timeZone string

Time Zone

funcName

Function name segment properties

Properties:
Name Type Default Description
show boolean true

Show/hide function name

color number ansiColors.cyan

Date & time color

memoryMonitorOptions

Generic memory monitor options

Properties:
Name Type Description
tag string

Tag to print

type string

Type of monitor

color string

Print color in this segment

fields Object

Available fields

memoryWatermark

System memory watermark options

Properties:
Name Type Default Description
tag string "WATERMARK"

Tag to print

text string "RAM

Watermark" Type of monitor

color string ansiColor.yellow

Print color in this segment

fields Object

Available fields

Properties
Name Type Description
RAM boolean

Value of highest RAM ussage

Swap boolean

Value of highest Swap ussage

Node boolean

Value of highest Node.js ussage

dateTime dateTime

Date & time segment options