1
0
mirror of https://github.com/thebaer/tildes.git synced 2018-07-20 07:15:21 +00:00

Modify logging

This commit is contained in:
Matt Baer 2015-01-11 18:33:26 -05:00
parent ea7cc343d4
commit c57c0b353f

View File

@ -62,14 +62,16 @@ func main() {
fmt.Printf("Error, skipping entry %s: %s\n", file, err) fmt.Printf("Error, skipping entry %s: %s\n", file, err)
continue continue
} }
fmt.Printf("Adding entry %s\n", file) fmt.Printf("Adding entry %s...\n", file)
entries[i] = *entry entries[i] = *entry
i++ i++
} }
fmt.Printf("Using template %s\n", *templateFilePtr) fmt.Printf("Using template %s...\n", *templateFilePtr)
generateLog(entries, *templateFilePtr) generateLog(entries, *templateFilePtr)
fmt.Printf("Finished! Saved to %slog.html\n", outputPath)
} }
var validFileFormat = regexp.MustCompile("^[0-9]{8}$") var validFileFormat = regexp.MustCompile("^[0-9]{8}$")