forked from lix-project/lix
4983401440
Make the printing of the build logs systematically go through the logger, and replicate the behavior of `no-build-output` by having two different loggers (one that prints the build logs and one that doesn't)
20 lines
265 B
C++
20 lines
265 B
C++
#pragma once
|
|
|
|
#include "types.hh"
|
|
|
|
namespace nix {
|
|
|
|
enum class LogFormat {
|
|
raw,
|
|
rawWithLogs,
|
|
internalJson,
|
|
bar,
|
|
barWithLogs,
|
|
};
|
|
|
|
void setLogFormat(const string &logFormatStr);
|
|
void setLogFormat(const LogFormat &logFormat);
|
|
|
|
void createDefaultLogger();
|
|
|
|
}
|