Change debug message in 'sneeker.log_debug'
This commit is contained in:
parent
23477fb85f
commit
ea3ab21024
@ -9,7 +9,7 @@ end
|
|||||||
-- Displays a message in log output only if 'sneeker.debug' is set to 'true'
|
-- Displays a message in log output only if 'sneeker.debug' is set to 'true'
|
||||||
function sneeker.log_debug(message)
|
function sneeker.log_debug(message)
|
||||||
if sneeker.debug then
|
if sneeker.debug then
|
||||||
sneeker.log('[DEBUG] ' .. message)
|
sneeker.log('DEBUG: ' .. message)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user