Sure, use "int MCLogEnabled = false;"