[FIX} Fixed compilation in case of disabled logging