Advanced Logging, Optimized Toggle-Handling