lix/src/libmain/loggers.hh

20 lines
250 B
C++
Raw Normal View History

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