nix-super/src/libmain/loggers.hh

22 lines
281 B
C++
Raw Normal View History

#pragma once
///@file
#include "types.hh"
namespace nix {
enum class LogFormat {
raw,
rawWithLogs,
2020-10-28 16:41:18 +02:00
internalJSON,
bar,
barWithLogs,
};
2020-06-11 16:39:08 +03:00
void setLogFormat(const std::string & logFormatStr);
void setLogFormat(const LogFormat & logFormat);
void createDefaultLogger();
}