summaryrefslogtreecommitdiff
path: root/bilibili/streaming.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-11 01:19:46 +0800
committerKeuin <[email protected]>2022-09-11 01:19:46 +0800
commit4fa50556d047c6909af45543c2440104f261b094 (patch)
tree0f6ab62c008afd66f4179e5900f044130692def4 /bilibili/streaming.go
parentc1b605fca10c0f58c131d5d38084f991b21eae5d (diff)
Add log.
Diffstat (limited to 'bilibili/streaming.go')
-rw-r--r--bilibili/streaming.go1
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)