DebugStackTracker class in one place
This commit is contained in:
@@ -221,6 +221,8 @@ static std::string indent(std::string_view indentFirst, std::string_view indentR
|
||||
|
||||
std::ostream & showErrorInfo(std::ostream & out, const ErrorInfo & einfo, bool showTrace)
|
||||
{
|
||||
std::cout << "showErrorInfo showTrace: " << showTrace << std::endl;
|
||||
|
||||
std::string prefix;
|
||||
switch (einfo.level) {
|
||||
case Verbosity::lvlError: {
|
||||
|
||||
@@ -38,6 +38,7 @@ typedef uint64_t ActivityId;
|
||||
struct LoggerSettings : Config
|
||||
{
|
||||
Setting<bool> showTrace{
|
||||
// this, false, "show-trace",
|
||||
this, false, "show-trace",
|
||||
R"(
|
||||
Where Nix should print out a stack trace in case of Nix
|
||||
|
||||
Reference in New Issue
Block a user