From d309183bf870d3f4a04fd9500ebdcb2ca5cd2645 Mon Sep 17 00:00:00 2001 From: erhant Date: Wed, 17 Jun 2026 16:10:25 +0300 Subject: [PATCH] add commented `init_logger` --- src/lez_indexer_module.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/lez_indexer_module.h b/src/lez_indexer_module.h index 8841c2c..0d4d865 100644 --- a/src/lez_indexer_module.h +++ b/src/lez_indexer_module.h @@ -52,6 +52,19 @@ public: const QString& offset, const QString& limit) override; + // Indexer Logging (opt-in) + // + // Installs the indexer FFI's logger (env_logger) so the indexer's Rust `log` + // output surfaces in the host process. + // + // Commented out because the underlying `::init_logger()` export does not yet + // exist in the pinned logos-execution-zone FFI + // + // Uncomment this single block once the export lands upstream + // and the pin is bumped to a rev that includes it. + // + // Q_INVOKABLE void init_logger() { ::init_logger(); } + signals: void eventResponse(const QString& eventName, const QVariantList& data); };