IoT Open Tech
Home
  • Platform
  • Modules
  • Devices
Guides
Changelog
Home
  • Platform
  • Modules
  • Devices
Guides
Changelog
  • Platform

    • IoT Open Lynx Platform
    • Lynx Architecture
    • Main objects
    • DeviceX / FunctionX
      • Function types and metadata
    • Metadata
      • Known meta-keys
    • Icons
    • Schedules
    • Edge Apps
      • The app.json file
      • Package edge.lynx
      • Package edge.timer
      • Package json
      • Package mq
      • Package log
      • Package edge
    • Edge Client
      • Docker Edge Client
      • Linux Edge Client
    • Notifications
      • Templating language
      • Executors
    • Events
    • Permissions
    • API Reference and Libraries

Package log

Functions

i

Print information message to the log

Parameters

NameOptionalDescription
FormatNoFormat string to be printed
...valuesYesAll format values to be applied

Example

log.i("The number is: %d", 2)

e

Print error message to the log

Parameters

NameOptionalDescription
FormatNoFormat string to be printed
...valuesYesAll format values to be applied

Example

log.e("An unexpected error")

d

Print debug message to the log

Parameters

NameOptionalDescription
FormatNoFormat string to be printed
...valuesYesAll format values to be applied

Example

log.d("The value %d is not %s", 3, "4")
Last updated:
Prev
Package mq
Next
Package edge