mirror of
https://github.com/thebaer/tildes.git
synced 2018-07-20 07:15:21 +00:00
Modify logging
This commit is contained in:
parent
ea7cc343d4
commit
c57c0b353f
@ -62,14 +62,16 @@ func main() {
|
||||
fmt.Printf("Error, skipping entry %s: %s\n", file, err)
|
||||
continue
|
||||
}
|
||||
fmt.Printf("Adding entry %s\n", file)
|
||||
fmt.Printf("Adding entry %s...\n", file)
|
||||
entries[i] = *entry
|
||||
i++
|
||||
}
|
||||
|
||||
fmt.Printf("Using template %s\n", *templateFilePtr)
|
||||
fmt.Printf("Using template %s...\n", *templateFilePtr)
|
||||
|
||||
generateLog(entries, *templateFilePtr)
|
||||
|
||||
fmt.Printf("Finished! Saved to %slog.html\n", outputPath)
|
||||
}
|
||||
|
||||
var validFileFormat = regexp.MustCompile("^[0-9]{8}$")
|
||||
|
Loading…
Reference in New Issue
Block a user