refa: logfile (#1764)

* refa: logfile

* opt: log page

* opt: raf log file

* remove old log

* update

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

---------

Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2025-12-06 22:33:00 +08:00
committed by GitHub
parent 255e39b709
commit 0d273f6909
6 changed files with 539 additions and 156 deletions

View File

@@ -1084,7 +1084,7 @@ class PlPlayerController {
if (kDebugMode)
videoPlayerController!.stream.log.listen(((PlayerLog log) {
if (log.level == 'error' || log.level == 'fatal') {
Utils.reportError(log.text, null, log.prefix);
Utils.reportError('${log.prefix}: ${log.text}', null);
} else {
debugPrint(log.toString());
}