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