aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/loggers.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-08 13:24:01 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-08 13:24:01 +0200
commitc27f92698bbbb99df3c4403db6590276318940a0 (patch)
treef733ec3abbaf6b62b35140b8e1f9532639ad2885 /src/libmain/loggers.cc
parent4983401440e1c46d6c576bc36ac86169bd296f9f (diff)
Style fixes
Diffstat (limited to 'src/libmain/loggers.cc')
-rw-r--r--src/libmain/loggers.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmain/loggers.cc b/src/libmain/loggers.cc
index b81096931..ee3836382 100644
--- a/src/libmain/loggers.cc
+++ b/src/libmain/loggers.cc
@@ -16,8 +16,7 @@ LogFormat parseLogFormat(const string &logFormatStr) {
return LogFormat::bar;
else if (logFormatStr == "bar-with-logs")
return LogFormat::barWithLogs;
- throw Error(format("option 'log-format' has an invalid value '%s'") %
- logFormatStr);
+ throw Error("option 'log-format' has an invalid value '%s'", logFormatStr);
}
Logger *makeDefaultLogger() {