Improve output in log

This commit is contained in:
Justin Hawkins 2025-04-25 13:16:11 +09:30
parent a7b0a5d113
commit ed9d45d343

View File

@ -34,6 +34,10 @@ type NGF struct {
Timestamp time.Time Timestamp time.Time
} }
func (ngf NGF) String() string {
return fmt.Sprintf("id: %d, stored: %s, size: %d, kind: %s", ngf.Id, ngf.StorePath, ngf.Size, ngf.Kind)
}
var ngfs []NGF var ngfs []NGF
var globalId uint32 var globalId uint32