1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

improve logging output

This commit is contained in:
Sascha L. Teichmann 2023-10-17 18:52:38 +02:00
parent 3923dc7044
commit 8f6e6ee8bb
2 changed files with 5 additions and 4 deletions

View file

@ -178,8 +178,9 @@ func (p *provider) ageAccept(c *config) func(time.Time) bool {
}
if c.Verbose {
s, _ := r.MarshalJSON()
log.Printf("Setting up filter to accept docs within TimeRange %s", s)
log.Printf(
"Setting up filter to accept advisories within time range %s to %s\n",
r[0].Format(time.RFC3339), r[1].Format(time.RFC3339))
}
return r.Contains
}