summaryrefslogtreecommitdiff
path: root/test/headless/headless.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/headless/headless.cpp')
-rw-r--r--test/headless/headless.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/headless/headless.cpp b/test/headless/headless.cpp
index bf04cbcb4b..c47b9349a8 100644
--- a/test/headless/headless.cpp
+++ b/test/headless/headless.cpp
@@ -1,5 +1,5 @@
#include "../fixtures/util.hpp"
-#include "../fixtures/fixture_log.hpp"
+#include "../fixtures/fixture_log_observer.hpp"
#include <mbgl/map/map.hpp>
#include <mbgl/util/image.hpp>
@@ -101,7 +101,7 @@ TEST_P(HeadlessTest, render) {
ASSERT_FALSE(infoDoc.HasParseError());
ASSERT_TRUE(infoDoc.IsObject());
- Log::Set<FixtureLogBackend>();
+ Log::setObserver(util::make_unique<FixtureLogObserver>());
Log::Info(Event::General, "test fixture %s", base.c_str());