Interface TextZLogFormat

Text log format.

Hierarchy

  • TextZLogFormat

Properties

Properties

fields?: readonly (string | number | ZLogField)[]

Fields to write.

This is an array of:

  • log fields,
  • string delimiters between non-empty fields (prefixes and suffixes are always added),
  • numeric values indicating the following fields order.

Fields are applied in order of their presence. However, the written data can be reordered. For that, a numeric order value can be used before fields or delimiters. By default, the order value is 0.

Default

Built by {@link TextZLogFormat:object.defaultFields TextZLogFormat.defaultFields()}.

Generated using TypeDoc