<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=Tools.log</id>
	<title>Tools.log - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=Tools.log"/>
	<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=Tools.log&amp;action=history"/>
	<updated>2026-06-04T14:19:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://cmm.ozdeadmeat.com/index.php?title=Tools.log&amp;diff=6044&amp;oldid=prev</id>
		<title>Ozdeadmeat: tools.log – created via PowerShell script (2025-11-11T21:12:48Z)</title>
		<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=Tools.log&amp;diff=6044&amp;oldid=prev"/>
		<updated>2025-11-11T10:12:49Z</updated>

		<summary type="html">&lt;p&gt;tools.log – created via PowerShell script (2025-11-11T21:12:48Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          tools.log|fDescription=   Logs a message to the dcs.log file with an optional severity level. The message can be a string, and the log type defaults to &amp;#039;info&amp;#039; if not specified. Valid log types are &amp;#039;info&amp;#039;, &amp;#039;warn&amp;#039;, and &amp;#039;error&amp;#039;. The function checks if logging is enabled and validates input types before outputting the message using the appropriate environment function.|parentFile=     cmm.tools.lua|syntax=         CMM.tools.log(LogTXT &amp;lt;string&amp;gt;, LogType &amp;lt;string&amp;gt;)|return=         nil|returnDesc=     Returns nothing, logs the message directly to the dcs.log file.|example=        CMM.tools.log(&amp;quot;Unit movement detected&amp;quot;, &amp;quot;warn&amp;quot;)|exampleDesc=    Logs a warning message indicating unit movement detection to the dcs.log file.|related=        |note=           |envType= CMM|par1=         string LogTXT|reqType1=     string|reqName1=     LogTXT|desc1=       Message to log, must be a string. The message is written to the dcs.log file with the specified log type.|par2=         string LogType|reqType2=     string|reqName2=     LogType|desc2=       Optional log type, defaults to &amp;#039;info&amp;#039;. Valid options are &amp;#039;info&amp;#039;, &amp;#039;warn&amp;#039;, and &amp;#039;error&amp;#039;. If not provided or invalid, defaults to CMM.tools.LogLevel or &amp;#039;info&amp;#039;.}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>