- avoid logger debug calls when not in debug mode