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