FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/node-utils / LoggerMessage

Type Alias: LoggerMessage

LoggerMessage = object

Serialized log entry sent to transport handlers.

Logger creates these messages after formatting and before writing to stdout or stderr.

Properties

extra?

optional extra?: any[]

Original extra values forwarded alongside the formatted message, including hidden metadata such as timer performance data.

labels

labels: string[]

Label segments captured from the logger label.

A label such as app] [config becomes ['app', 'config'].

level

level: Level

Log level that produced the message.

message

message: string

Fully formatted log text.

timestamp

timestamp: number

Unix timestamp in milliseconds for when the entry was created.