forked from lix-project/lix
Style fixes
This commit is contained in:
parent
801112de1a
commit
8bd892117a
|
@ -5,7 +5,7 @@ namespace nix {
|
|||
|
||||
LogFormat defaultLogFormat = LogFormat::raw;
|
||||
|
||||
LogFormat parseLogFormat(const string &logFormatStr) {
|
||||
LogFormat parseLogFormat(const std::string & logFormatStr) {
|
||||
if (logFormatStr == "raw")
|
||||
return LogFormat::raw;
|
||||
else if (logFormatStr == "raw-with-logs")
|
||||
|
@ -34,7 +34,7 @@ Logger *makeDefaultLogger() {
|
|||
}
|
||||
}
|
||||
|
||||
void setLogFormat(const string &logFormatStr) {
|
||||
void setLogFormat(const std::string & logFormatStr) {
|
||||
setLogFormat(parseLogFormat(logFormatStr));
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ enum class LogFormat {
|
|||
barWithLogs,
|
||||
};
|
||||
|
||||
void setLogFormat(const string &logFormatStr);
|
||||
void setLogFormat(const std::string & logFormatStr);
|
||||
void setLogFormat(const LogFormat & logFormat);
|
||||
|
||||
void createDefaultLogger();
|
||||
|
|
Loading…
Reference in a new issue