Any possible to set logging as false only for release build?