|  Developer
Updated on November 18, 2021

Module API (require “logging”)

Edit
level
  • Represent a value of logging level
    • type: string
    • values: One of: trace | debug | info | warning | error
message
  • Represent a message for logging
    • type: One of : string | number | object
      • string — any string message
      • number — formatted number
      • object — object for dumping all it fields and structure
Edit
  • Get value of current log level.
    • return: level
  • Print to log a message with selected log level.
  • Print to log a message with log level.
  • Print to log a message with log level.
  • Print to log a message with log level.
  • Print to log a message with log level.
  • Print to log a message with log level.