pass entire logger to '.log' so it can be dereferenced