DebugLogging: Add more functions, improve docs