This page is part of archived documentation for openHAB 4.1. Go to the current stable version

# Logging

return to Blockly Reference

# Introduction

This section explains only the blocks that have been added to the standard blocks by openHAB

# Logging and Output

These blocks enable arbitrary content to be published to the openHAB log (opens new window).

logging-overview

More about that topic can be viewed at youtube Logging (opens new window)

# Log Statement

log-statement

Function: Sends an entry to the openHAB log file with a defined severity level.

Since 3.3: The block attached to the log-block is not restricted to a string type block anymore

print-to-stdout

Function: creates a print statement with the given text in the rule that logs to stdout

# Return to Blockly Reference

return to Blockly Reference