mirror of
https://github.com/NixOS/nix
synced 2025-06-29 02:11:15 +02:00
move showTrace to new loggerSettings
This commit is contained in:
parent
5ae498872a
commit
bf2788e4c1
10 changed files with 35 additions and 57 deletions
|
@ -266,7 +266,7 @@ namespace nix {
|
|||
|
||||
testing::internal::CaptureStderr();
|
||||
|
||||
logger->setShowTrace(true);
|
||||
loggerSettings.showTrace.assign(true);
|
||||
|
||||
logError(e.info());
|
||||
|
||||
|
@ -292,7 +292,7 @@ namespace nix {
|
|||
|
||||
testing::internal::CaptureStderr();
|
||||
|
||||
logger->setShowTrace(false);
|
||||
loggerSettings.showTrace.assign(false);
|
||||
|
||||
logError(e.info());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue