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:
parent
3923dc7044
commit
8f6e6ee8bb
2 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue