Simply and transparently add logger support to a class