add configurable logger