logger as part of the object