changed LogWrapper