mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Logger, ProgressBar: add a way to pause/resume
Add new virtual methods pause and resume to the Logger class, and implement them in ProgressBar to allow to pause the bar refreshing.
This commit is contained in:
parent
4dcc0a1b76
commit
85df7e7ea2
2 changed files with 16 additions and 0 deletions
|
@ -72,6 +72,9 @@ public:
|
|||
|
||||
virtual void stop() { };
|
||||
|
||||
virtual void pause() { };
|
||||
virtual void resume() { };
|
||||
|
||||
// Whether the logger prints the whole build log
|
||||
virtual bool isVerbose() { return false; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue