diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-07-02 09:04:31 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-07-02 09:04:31 -0600 |
commit | bf2788e4c1d92a8d625f016b2a3b4d34990f33e3 (patch) | |
tree | e97552c393a7e0bc4544020869f65486e9f2e8ec /src/libutil/tests/logging.cc | |
parent | 5ae498872a832b0df93b551210f0a3a8b6ffaa35 (diff) |
move showTrace to new loggerSettings
Diffstat (limited to 'src/libutil/tests/logging.cc')
-rw-r--r-- | src/libutil/tests/logging.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/tests/logging.cc b/src/libutil/tests/logging.cc index f51e40fa8..ef22e9966 100644 --- a/src/libutil/tests/logging.cc +++ b/src/libutil/tests/logging.cc @@ -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()); |