diff options
author | Keuin <[email protected]> | 2022-09-11 01:19:46 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-09-11 01:19:46 +0800 |
commit | 4fa50556d047c6909af45543c2440104f261b094 (patch) | |
tree | 0f6ab62c008afd66f4179e5900f044130692def4 /bilibili | |
parent | c1b605fca10c0f58c131d5d38084f991b21eae5d (diff) |
Add log.
Diffstat (limited to 'bilibili')
-rw-r--r-- | bilibili/streaming.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bilibili/streaming.go b/bilibili/streaming.go index 308f06a..c89126d 100644 --- a/bilibili/streaming.go +++ b/bilibili/streaming.go @@ -52,6 +52,7 @@ func (b Bilibili) CopyLiveStream( defer func() { _ = resp.Body.Close() }() + b.logger.Info("Copying live stream...") // blocking copy n, err := common.CopyToFileWithBuffer(ctx, out, resp.Body, buffer, readChunkSize, false) |