mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-04 21:05:54 +08:00
Desktop use debug level file filter if developer build (#17910)
This commit is contained in:
parent
50dff4e032
commit
f7d2dd0cd0
@ -22,7 +22,7 @@ export class ElectronLogMainService extends BaseLogService {
|
||||
return;
|
||||
}
|
||||
|
||||
log.transports.file.level = "info";
|
||||
log.transports.file.level = isDev() ? "debug" : "info";
|
||||
if (this.logDir != null) {
|
||||
log.transports.file.resolvePathFn = () => path.join(this.logDir, "app.log");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user