mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
Handle log messages from build-remote
This makes the progress indicator show statuses like "connecting to 'root@machine'".
This commit is contained in:
parent
0d59f1ca49
commit
fe9d2f974d
4 changed files with 175 additions and 124 deletions
|
@ -130,6 +130,11 @@ extern Logger * logger;
|
|||
|
||||
Logger * makeDefaultLogger();
|
||||
|
||||
Logger * makeJSONLogger(Logger & prevLogger);
|
||||
|
||||
bool handleJSONLogMessage(const std::string & msg,
|
||||
const Activity & act, std::map<ActivityId, Activity> & activities);
|
||||
|
||||
extern Verbosity verbosity; /* suppress msgs > this */
|
||||
|
||||
/* Print a message if the current log level is at least the specified
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue