aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/loggers.hh
blob: f9ba5ee5e2d1dd6dcf426bb8ff7466a3939b492a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "types.hh"

namespace nix {

enum class LogFormat {
  raw,
  rawWithLogs,
  internalJson,
  bar,
  barWithLogs,
};

void setLogFormat(const string &logFormatStr);
void setLogFormat(const LogFormat &logFormat);

void createDefaultLogger();

}