From 7527cdff7bac25f8f2a89cc89f5dc7584ee4ea36 Mon Sep 17 00:00:00 2001 From: Jackson Coxson Date: Thu, 23 Oct 2025 12:29:36 -0600 Subject: [PATCH] Log in the screenshot cpp example --- cpp/examples/screenshot.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/examples/screenshot.cpp b/cpp/examples/screenshot.cpp index 8c76abc..05334e9 100644 --- a/cpp/examples/screenshot.cpp +++ b/cpp/examples/screenshot.cpp @@ -5,6 +5,7 @@ #include #include +#include #include #include #include @@ -23,6 +24,7 @@ static void die(const char* msg, const FfiError& e) { } int main(int argc, char** argv) { + idevice_init_logger(Debug, Disabled, NULL); // Usage: // take_screenshot if (argc != 2) {