Allow custom logger