Create logFactory.go