mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-16 21:09:44 +08:00
Better(?) log messages
This commit is contained in:
parent
a794dd8ea2
commit
7137c0693a
1 changed files with 6 additions and 1 deletions
|
@ -132,7 +132,12 @@ func (arc *Archiver) archive(res ResourceURL) {
|
|||
arc.Unlock()
|
||||
|
||||
// Save content to storage
|
||||
arc.Logf(infoLog, "Downloaded %s, parent %s", res.DownloadURL, res.Parent)
|
||||
arc.Logf(infoLog, "Downloaded %s\n"+
|
||||
"\tParent %s\n"+
|
||||
"\tSize %d Bytes\n",
|
||||
res.DownloadURL,
|
||||
res.Parent,
|
||||
resp.ContentLength)
|
||||
|
||||
result.ContentType = cType
|
||||
err = arc.SaveToStorage(result)
|
||||
|
|
Loading…
Reference in a new issue