util: Out-of-the-box support for Android logging
Refs: #4970
Change-Id: I01cbb59faf505046c792393eb2e8df347212abcb
diff --git a/tests/unit/util/logging.t.cpp b/tests/unit/util/logging.t.cpp
index 24ae88b..7daa1cd 100644
--- a/tests/unit/util/logging.t.cpp
+++ b/tests/unit/util/logging.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2013-2020 Regents of the University of California.
+ * Copyright (c) 2013-2021 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -178,7 +178,7 @@
{
m_systemClock->setNow(LOG_SYSTIME);
Logging::get().resetLevels();
- Logging::setDestination(os);
+ Logging::setDestination(os, true);
}
~LoggingFixture()
@@ -689,7 +689,7 @@
));
os2.reset();
- Logging::setDestination(os);
+ Logging::setDestination(os, true);
BOOST_CHECK(os2weak.expired());
}