Don't abuse DebugWrite() that is for protocol messages, you want Logger.Debug()