diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-04-17 15:07:44 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-04-17 15:07:44 -0600 |
commit | 3d5b1032a193419cfa7406f0e42a7621994d70af (patch) | |
tree | ee5c26b21dbed957bc5b9fdbbb4667e10d4bddf2 /src/nix | |
parent | 12814806efca65a73aebf8d3109eb2fbf880e2b8 (diff) |
logError, logWarning; Logger functions; switch to Verbosity enum
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/progress-bar.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nix/progress-bar.cc b/src/nix/progress-bar.cc index 26631416c..41f3d4cd7 100644 --- a/src/nix/progress-bar.cc +++ b/src/nix/progress-bar.cc @@ -124,6 +124,12 @@ public: log(*state, lvl, fs.s); } + void logEI(const ErrorInfo &ei) override + { + auto state(state_.lock()); + // log(*state, lvl, ei.as_str()); + } + void log(State & state, Verbosity lvl, const std::string & s) { if (state.active) { |