If these are useful, how about just putting log() behind a preference like extensions.settingsguard.debug