<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Log.log doesn&#x27;t work in Module]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">Log.log is the module side (client) and console.log in the NodeJs side (server).</p>
<p dir="auto">But in log file there are only Log,log message from default Module (calendar, newsfeed…), for example there aren.t message from MMM-CECControl, MMM-MotionControl, MMM-AlexaControl.</p>
<p dir="auto">in documentation ( <a href="https://docs.magicmirror.builders/development/logger.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.magicmirror.builders/development/logger.html</a> ):<br />
<img src="/assets/uploads/files/1670600794508-3a7b375a-f32f-49bc-aa73-3131c04b77a7-image.png" alt="3a7b375a-f32f-49bc-aa73-3131c04b77a7-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">in MMM-CECControl.js (for example) there is Log.log(…) but in its node_helper.js ther isn’t the require, I add: const Log = require(“…/…/js/logger.js”);<br />
but it doesn’t change,  there aren’t errors butLog doesn’t work</p>
<p dir="auto">What am I doing wrong?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.magicmirror.builders/topic/17444/log-log-doesn-t-work-in-module</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 02:59:26 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17444.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Dec 2022 15:55:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Log.log doesn&#x27;t work in Module on Fri, 09 Dec 2022 17:44:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cldparisi" aria-label="Profile: cldparisi">@<bdi>cldparisi</bdi></a> open the developers window ctrl-shift-i on the keyboard and select the console tab</p>
<p dir="auto">MMM-Logging  can capture and send to the  stdout stream to merge w the output from the node_helper(s)</p>
<p dir="auto">I made some extensions to capture the other outputs, not just log.</p>
<p dir="auto">see <a href="https://github.com/sdetweil/MMM-Logging" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-Logging</a></p>
]]></description><link>https://forum.magicmirror.builders/post/106514</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106514</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 09 Dec 2022 17:44:03 GMT</pubDate></item><item><title><![CDATA[Reply to Log.log doesn&#x27;t work in Module on Fri, 09 Dec 2022 17:06:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> ok, ok…logger.js is only a wrapper to use console “like Log” with a same syntax.</p>
<p dir="auto">How I can view a client Log?<br />
is there a script or a module that write a file?</p>
]]></description><link>https://forum.magicmirror.builders/post/106513</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106513</guid><dc:creator><![CDATA[cldparisi]]></dc:creator><pubDate>Fri, 09 Dec 2022 17:06:59 GMT</pubDate></item><item><title><![CDATA[Reply to Log.log doesn&#x27;t work in Module on Fri, 09 Dec 2022 15:58:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cldparisi" aria-label="Profile: cldparisi">@<bdi>cldparisi</bdi></a> correct… Log. is a client side function (in modulename.js) , NOT a node_helper.js server side function</p>
]]></description><link>https://forum.magicmirror.builders/post/106508</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106508</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 09 Dec 2022 15:58:23 GMT</pubDate></item></channel></rss>