LOGGING
(bucket string)
| 136 | /////////// |
| 137 | |
| 138 | func buildFileNamePrefix(bucket string) string { |
| 139 | return fmt.Sprintf("%s.%s.%s.*.ERROR.log", appName, bucket, time.Now().Format(timeStrFormat)) |
| 140 | } |
| 141 | |
| 142 | func updateSymlink(symlink, target string) (err error) { |
| 143 | if _, err = os.Lstat(symlink); err == nil { // symlink already exists |
no outgoing calls
no test coverage detected