You are currently viewing the Homey Apps SDK v2 documentation. New apps should use Homey Apps SDK v3 ››

Homey.SimpleClass

const { SimpleClass } = require('homey');

This is a simple class, extended by many other classes.

Table of Contents

Constructor

new Homey.SimpleClass()

Extends

  • EventEmitter

Methods

error(…message)

Log a message to the console (stderr)

Parameters:
Name Type Attributes Description
message * <repeatable>

log(…message)

Log a message to the console (stdout)

Parameters:
Name Type Attributes Description
message * <repeatable>