logDebug function

Log a message at the DEBUG level