Add logger factory