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

    • IoT Open Lynx Platform
    • Lynx Architecture
    • Main objects
    • DeviceX / FunctionX
    • Metadata
      • Known meta-keys
    • Icons
    • Schedules
    • Edge Apps
      • The app.json file
      • Package edge.lynx
      • Package timer
      • Package json
      • Package mq
      • Package log
      • Package edge
    • 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