lix/src/libmain/loggers.hh

21 lines
272 B
C++
Raw Normal View History

#pragma once
#include "types.hh"
namespace nix {
enum class LogFormat {
raw,
rawWithLogs,
internalJson,
bar,
barWithLogs,
};
2020-06-11 13:39:08 +00:00
void setLogFormat(const std::string & logFormatStr);
void setLogFormat(const LogFormat & logFormat);
void createDefaultLogger();
}