<?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: Write to a log from javascript? in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/write-to-a-log-from-javascript/m-p/5492918#M21582</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately we didn't have a log framework for you&amp;nbsp;to write log. Users could define logger by themselves as what they did for some general JS applications.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We provided the method "adsk.writeFile" to help write data to a disk file as users may have no permission to do that by JS codes. Please refer to &lt;A href="http://fusion360.autodesk.com/resources" target="_blank"&gt;http://fusion360.autodesk.com/resources&lt;/A&gt; and go to "Programming Interface"-&amp;gt;"Javascript Specific Issues" for details.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marshal&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2015 10:08:29 GMT</pubDate>
    <dc:creator>marshaltu</dc:creator>
    <dc:date>2015-02-03T10:08:29Z</dc:date>
    <item>
      <title>Write to a log from javascript?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/write-to-a-log-from-javascript/m-p/5492789#M21581</link>
      <description>&lt;P&gt;Is there a log that scripts can write to? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's console.log, but as far as I can tell that's only visible in a debug session and it gets wiped between runs. &amp;nbsp;Any other way to get debug printf output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I can just write to a file, but as scripts start working together, it'd be nice to have a log framework of some sort)&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 06:43:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/write-to-a-log-from-javascript/m-p/5492789#M21581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-03T06:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Write to a log from javascript?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/write-to-a-log-from-javascript/m-p/5492918#M21582</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately we didn't have a log framework for you&amp;nbsp;to write log. Users could define logger by themselves as what they did for some general JS applications.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We provided the method "adsk.writeFile" to help write data to a disk file as users may have no permission to do that by JS codes. Please refer to &lt;A href="http://fusion360.autodesk.com/resources" target="_blank"&gt;http://fusion360.autodesk.com/resources&lt;/A&gt; and go to "Programming Interface"-&amp;gt;"Javascript Specific Issues" for details.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marshal&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 10:08:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/write-to-a-log-from-javascript/m-p/5492918#M21582</guid>
      <dc:creator>marshaltu</dc:creator>
      <dc:date>2015-02-03T10:08:29Z</dc:date>
    </item>
  </channel>
</rss>

