I'm playing around with the SDK to create a custom exporter. I started with the example plugins and they do work.
However, I'm not able to create a functionaing Logger to print to the console/Log window. I'm using the same code as presented in Esri Procedural Runtime: prtx::LogFormatter Class Reference
auto lh = prt::ConsoleLogHandler::create(prt::ConsoleLogHandler::ALL, prt::ConsoleLogHandler::ALL_COUNT); prt::addLogHandler(Log); log_debug("Encoder"); Can anyone point me in the right direction? Cheers!
sorry for the very late response. Is this still an issue for you?
In your code snippet, you probably wanted to write prt::addLogHandler(lh), right?
Sorry I haven't logged in into the forum as I found a work-around for my problem. I've got it working for now!