21 lines
272 B
C++
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();
|
|
|
|
}
|