aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/loggers.hh
blob: f50cbb682fe59ac5d4bbd3fb547f7dccf2f6b91f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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();

}