<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: City Engine SDK - Logging in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-sdk-logging/m-p/237945#M3112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2019 10:09:22 GMT</pubDate>
    <dc:creator>BernhardRainer1</dc:creator>
    <dc:date>2019-01-18T10:09:22Z</dc:date>
    <item>
      <title>City Engine SDK - Logging</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-sdk-logging/m-p/237943#M3110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm playing around with the SDK to create a custom exporter. I started with the example plugins and they do work.&lt;/P&gt;&lt;P&gt;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&amp;nbsp;&lt;A class="link-titled" href="https://esri.github.io/esri-cityengine-sdk/html/classprtx_1_1_log_formatter.html" title="https://esri.github.io/esri-cityengine-sdk/html/classprtx_1_1_log_formatter.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Esri Procedural Runtime: prtx::LogFormatter Class Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;auto &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a;"&gt;lh &lt;/SPAN&gt;= &lt;SPAN style="color: #008080;"&gt;prt&lt;/SPAN&gt;::&lt;SPAN style="color: #008080;"&gt;ConsoleLogHandler&lt;/SPAN&gt;::create(&lt;SPAN style="color: #008080;"&gt;prt&lt;/SPAN&gt;::&lt;SPAN style="color: #008080;"&gt;ConsoleLogHandler&lt;/SPAN&gt;::&lt;SPAN style="color: #660e7a;"&gt;ALL&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;prt&lt;/SPAN&gt;::&lt;SPAN style="color: #008080;"&gt;ConsoleLogHandler&lt;/SPAN&gt;::&lt;SPAN style="color: #660e7a;"&gt;ALL_COUNT&lt;/SPAN&gt;);
&lt;SPAN style="color: #008080;"&gt;prt&lt;/SPAN&gt;::addLogHandler(&lt;SPAN style="color: #660e7a;"&gt;Log&lt;/SPAN&gt;);
&lt;SPAN style="color: #371f80;"&gt;log_debug&lt;/SPAN&gt;(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"Encoder"&lt;/SPAN&gt;);

Can anyone point me in the right direction?
Cheers!&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:58:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-sdk-logging/m-p/237943#M3110</guid>
      <dc:creator>BernhardRainer1</dc:creator>
      <dc:date>2021-12-11T11:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: City Engine SDK - Logging</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-sdk-logging/m-p/237944#M3111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for the very late response. Is this still an issue for you?&lt;/P&gt;&lt;P&gt;In your code snippet, you probably wanted to write prt::addLogHandler(lh), right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 11:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-sdk-logging/m-p/237944#M3111</guid>
      <dc:creator>SimonHaegler</dc:creator>
      <dc:date>2018-10-19T11:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: City Engine SDK - Logging</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-sdk-logging/m-p/237945#M3112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2019 10:09:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-sdk-logging/m-p/237945#M3112</guid>
      <dc:creator>BernhardRainer1</dc:creator>
      <dc:date>2019-01-18T10:09:22Z</dc:date>
    </item>
  </channel>
</rss>

