A lightweight wrapper around Logger to optimize log queries