AnsweredAssumed Answered

City Engine SDK - Logging

Question asked by rainer.b on Aug 7, 2018
Latest reply on Oct 19, 2018 by SHaegler-esristaff

Hello, 

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!

Outcomes