so it only gets actived in debug mode. otherwise it would also be logged in production, wouldnt it?