# 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

# Log Statement

log-statement

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

Since OpenHAB 3.3.0M6: 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