This page is part of archived documentation for openHAB 4.3. Go to the current stable version
# Logging
# Introduction
This section explains the blocks that have been added to allow logging.
# Logging and Output
These blocks enable arbitrary content to be published to the openHAB log (opens new window).
More about that topic can be viewed at Logging (opens new window)
# Log Statement
Function: Sends an entry to the openHAB log file with a defined severity level.
A severity level (opens new window) can be provided via the dropdown list for the log statement
- error
- warn
- info
- debug
- trace
Since 3.3: The block attached to the log-block is not restricted to a string type block anymore
# Print Statement
Function: creates a print statement with the given text in the rule that logs to stdout
# Return to Blockly Reference
Caught a mistake or want to contribute to the documentation? Edit this page on GitHub (opens new window)