Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mos:logfile [2023/03/12 22:49] – created optrixmos:logfile [2025/12/18 22:50] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====LogFile====
  
 +The LogFile output module allows you to write data to a simple text-based log file.
 +
 +^Parameter^Default^Meaning^
 +|**filename**||The full path to the file to write|
 +
 +===Availability===
 +
 +Available for [[key-value|key-value]] and [[event log|events]].
 +
 +===Example===
 +
 +<code>
 +[
 +   {
 +       "method": "logfile",
 +       "filename": "c:\tmp\myfile.txt"
 +   }
 +]
 +</code>
 +
 +//The above example would send values to a plain text file at **c:\tmp\myfile.txt** on Windows systems//.
 +
 +===Other Modules===
 +
 +Return to the [[mos:key-value_methods|list of key-value output modules]] or [[mos:event_methods|list of event output modules]].