mirror of https://github.com/cutefishos/calamares
[libcalamares] Log to file and stdout consistently
- The log **file** got every QDebug object, while stdout only got the ones of sufficient logging level. A CDebug object checks the logging level before writing anything -- so those already were consistent, but any qDebug() in the program (not cDebug()!) would reach the writing-function anyway, and so log to the file. Fix this weird inconsistency by checking log-level just once, for both writes.main
parent
716328cafb
commit
b68e535131
Loading…
Reference in New Issue