lix-releng-staging/src/libmain/loggers.hh
2020-10-28 17:54:28 -05:00

21 lines
272 B
C++

#pragma once
#include "types.hh"
namespace nix {
enum class LogFormat {
raw,
rawWithLogs,
internalJSON,
bar,
barWithLogs,
};
void setLogFormat(const std::string & logFormatStr);
void setLogFormat(const LogFormat & logFormat);
void createDefaultLogger();
}