Added logDebug() native method.