Log namespace. This namespace provides loggers to log messages to the openHAB Log.
Example
Basic logging
let log = require('openhab').log('my_logger');
log.info("Hello World!")
Classes
Members
(static, constant) LOGGER_PREFIX
Logger prefix
Methods
(static) newLogger(name)
Creates a logger.
Parameters:
Name | Type | Description |
---|---|---|
name |
string | the name of the logger |