1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#pragma once
///@file

#include "lix/libutil/log-format.hh"
#include "lix/libutil/types.hh"

namespace nix {

class Logger;

/** Overrides the current log format, and re-creates the current logger. */
void setLogFormat(const LogFormat & logFormat);

void createDefaultLogger();

Logger * getLoggerByFormat(LogFormat logFormat);

}