Added accessor for the logger in the connection class