now we can set custom log ouput func