Add trace log

This commit is contained in:
Deluan
2023-12-22 21:39:26 -05:00
parent f8e2b821c4
commit 42c976b656

View File

@@ -39,6 +39,7 @@ func Read(filename string) (tags map[string][]string, err error) {
id, m := newMap()
defer deleteMap(id)
log.Trace("TagLib: reading tags", "filename", filename, "map_id", id)
res := C.taglib_read(fp, C.ulong(id))
switch res {
case C.TAGLIB_ERR_PARSE: