Accepts custom logger configuration