aboutsummaryrefslogtreecommitdiffhomepage
path: root/configs/print.lua
blob: dc28bb6afd31d290a149c4f811f04016539189d6 (plain)
1
2
3
4
5
-- This function prints the name of the channel it handles and its current value
-- It can be used for a simple debug output with the `default-handler` configuration option
function printchannel(value)
	print(input_channel() .. " @ " .. value)
end