<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nsis.sourceforge.io/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Talk%3ALogging%3AEnable_Logs_Quickly</id>
	<title>Talk:Logging:Enable Logs Quickly - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nsis.sourceforge.io/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Talk%3ALogging%3AEnable_Logs_Quickly"/>
	<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Talk:Logging:Enable_Logs_Quickly&amp;action=history"/>
	<updated>2026-08-21T16:08:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://nsis.sourceforge.io/mediawiki/index.php?title=Talk:Logging:Enable_Logs_Quickly&amp;diff=25799&amp;oldid=prev</id>
		<title>EduardasI: Created page with &quot;If you try to include something more complex into ${INPUT_TEXT}, like:  LogText &quot;$\r$\n*** New logging started - ${DATE} ***&quot; You will get compile error:  !insertmacro: LogTex...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Talk:Logging:Enable_Logs_Quickly&amp;diff=25799&amp;oldid=prev"/>
		<updated>2022-09-08T08:07:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;If you try to include something more complex into ${INPUT_TEXT}, like:  LogText &amp;quot;$\r$\n*** New logging started - ${DATE} ***&amp;quot; You will get compile error:  !insertmacro: LogTex...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If you try to include something more complex into ${INPUT_TEXT}, like:&lt;br /&gt;
 LogText &amp;quot;$\r$\n*** New logging started - ${DATE} ***&amp;quot;&lt;br /&gt;
You will get compile error:&lt;br /&gt;
 !insertmacro: LogTextMacro&lt;br /&gt;
 LogText expects 1 parameters, got 12.&lt;br /&gt;
&lt;br /&gt;
simple fix - add quotes &amp;quot;${INPUT_TEXT}&amp;quot; in:&lt;br /&gt;
&lt;br /&gt;
 !define LogText &amp;quot;!insertmacro LogTextMacro&amp;quot;&lt;br /&gt;
 !macro LogTextMacro INPUT_TEXT&lt;br /&gt;
   !ifdef ENABLE_LOGGING&lt;br /&gt;
     LogText &amp;quot;${INPUT_TEXT}&amp;quot;&lt;br /&gt;
   !endif&lt;br /&gt;
 !macroend&lt;/div&gt;</summary>
		<author><name>EduardasI</name></author>
	</entry>
</feed>