mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
showTrace flag in loggers
This commit is contained in:
parent
ef24a0835d
commit
8f81fae116
10 changed files with 60 additions and 20 deletions
|
@ -75,6 +75,9 @@ public:
|
|||
logEI(ei);
|
||||
}
|
||||
|
||||
virtual bool getShowTrace() const = 0;
|
||||
virtual void setShowTrace(bool showTrace) = 0;
|
||||
|
||||
virtual void warn(const std::string & msg);
|
||||
|
||||
virtual void startActivity(ActivityId act, Verbosity lvl, ActivityType type,
|
||||
|
@ -146,7 +149,8 @@ struct PushActivity
|
|||
|
||||
extern Logger * logger;
|
||||
|
||||
Logger * makeSimpleLogger(bool printBuildLogs = true);
|
||||
Logger * makeSimpleLogger(bool printBuildLogs, bool showTrace);
|
||||
// Logger * makeSimpleLogger(bool printBuildLogs = true, bool showTrace);
|
||||
|
||||
Logger * makeJSONLogger(Logger & prevLogger);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue