Improve output in log
This commit is contained in:
parent
a7b0a5d113
commit
ed9d45d343
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user