add log.go file.