$ 0 0 the simplest way; use DebugLog All logs are disabled by DebugLog when the app is released. https://github.com/MustafaFerhan/DebugLog