]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
5
authorqydysky <qydysky@foxmail.com>
Mon, 14 Sep 2020 14:13:57 +0000 (22:13 +0800)
committerqydysky <qydysky@foxmail.com>
Mon, 14 Sep 2020 14:13:57 +0000 (22:13 +0800)
bili_danmu.go

index 5a0b8097046445fbfdd14c11df68d235c5caae6b..6f9e7cf8110e4bc8312554292f67a646c6633438 100644 (file)
@@ -13,7 +13,7 @@ import (
 const LogLevel = 1
 
 func Demo() {
-       l:=p.Logf().New().Level(LogLevel)
+       l:=p.Logf().New().Open("danmu.log").Level(LogLevel)
        defer l.Block()
        
        //ctrl+c退出