Add option to allow custom logging function