style(log): name factory function