Type Definitions
-
dateTime
-
Default options for dateTime segment
Properties:
Name Type Default Description showboolean true Show/hide time & date
colornumber ansiColors.yellow Date & time color
formatformat Default date & time format
-
debugPrintOptions
-
Generic debug print function option
Properties:
Name Type Description levelnumber Log Level
tagstring Tag to print
colorstring Print color at this log level
-
fileLocation
-
File location segment properties
Properties:
Name Type Default Description showboolean true Show/hide file name
colornumber ansiColors.magenta Date & time color
-
format
-
Default date & time format
Properties:
Name Type Default Description yearstring "numeric" Current year
monthstring "short" Current month
daystring "numeric" Current day
hourstring "2-digit" Current hour
minutestring "2-digit" Current minute
secondstring "2-digit" Current second
timeZonestring Time Zone
-
funcName
-
Function name segment properties
Properties:
Name Type Default Description showboolean true Show/hide function name
colornumber ansiColors.cyan Date & time color
-
memoryMonitorOptions
-
Generic memory monitor options
Properties:
Name Type Description tagstring Tag to print
typestring Type of monitor
colorstring Print color in this segment
fieldsObject Available fields
-
memoryWatermark
-
System memory watermark options
Properties:
Name Type Default Description tagstring "WATERMARK" Tag to print
textstring "RAM Watermark" Type of monitor
colorstring ansiColor.yellow Print color in this segment
fieldsObject Available fields
Properties
Name Type Description RAMboolean Value of highest RAM ussage
Swapboolean Value of highest Swap ussage
Nodeboolean Value of highest Node.js ussage
dateTimedateTime Date & time segment options