Skip to main content

Module WriteToFile

Module WriteToFile 

Source
Expand description

Append a single formatted line to the session’s Mountain.dev.log. The file sink is lazy: opens on first call, no-ops if Record=0 or the directory cannot be created. Flushes per line so tail -f shows live output.

Statics§

LOG_FILE 🔒

Functions§

FileSinkEnabled 🔒
Fn
InitFileSink 🔒
ResolveLogDirectory 🔒