Updated LogWrapper