Bin default values for parameters that were defaulted at just one call site

Change-Id: I965b0be1ad4f706a06d06d5c6c3f940c1b3cc33c
This commit is contained in:
Tor Lillqvist
2017-01-16 14:04:15 +02:00
parent 79e08f3de2
commit 32b92dcd91
2 changed files with 5 additions and 5 deletions

View File

@ -19,10 +19,10 @@
namespace Log
{
void initialize(const std::string& name,
const std::string& logLevel = "trace",
const bool withColor = true,
const bool logToFile = false,
std::map<std::string, std::string> config = {});
const std::string& logLevel,
const bool withColor,
const bool logToFile,
std::map<std::string, std::string> config);
Poco::Logger& logger();
std::string prefix(const char* level);

View File

@ -56,7 +56,7 @@ bool filterTests(CPPUNIT_NS::TestRunner& runner, CPPUNIT_NS::Test* testRegistry,
int main(int /*argc*/, char** /*argv*/)
{
Log::initialize("tst");
Log::initialize("tst", "trace", true, false, {});
CPPUNIT_NS::TestResult controller;
CPPUNIT_NS::TestResultCollector result;