pass in logger object, not logger name