Home Reference Source Test Repository

Typedef

Static Public Summary
public

Provides ColorLoggerOptions

public

Defines a trace filter.

Static Public

public ColorLoggerOptions: object source

Provides ColorLoggerOptions

Properties:

NameTypeAttributeDescription
autoPluginFilters boolean
  • optional
  • default: false

If true inclusive trace filters are added / removed automatically in response to 'typhonjs:plugin:manager:added:plugin' and 'typhonjs:plugin:manager:removed:plugin'.

consoleEnabled boolean
  • optional
  • default: true

If true output to console.log is enabled.

filtersEnabled boolean
  • optional
  • default: true

If true trace filters are applied in _getInfo.

showDate boolean
  • optional
  • default: false

If true the date is added to format results

showInfo boolean
  • optional
  • default: true

If true the location of where the log method is invoked is added to output.

public TraceFilterData: object source

Defines a trace filter.

Properties:

NameTypeAttributeDescription
enabled boolean
  • optional
  • default: true

The enabled state of the filter.

filterString string

The raw filter string used to create the RegExp.

name string

The filter name.

type string

The filter type: 'exclusive' or 'inclusive'.