Skip to content

LogWrite

Nightinggale edited this page Jun 4, 2018 · 1 revision

What it does

Allows easy access to writing to the log.


Why you want to use this

Gain easy access to write to the log whenever you have the need to do so.


Tags

Tag Mandatory Type Default Description
patchName no string Name of patch for log/profiling
Once no bool yes Sets if the log writing should be once or each call
Log writing no Note: only uses the Success part of log writing

Pass condition

Always


Example

<li Class="ModCheck.LogWrite">
    <patchName>Identifying strings for FindFile</patchName>
    <MessageSuccess>Mod: "{0}", File: "{1}"</MessageSuccess>
</li>

Clone this wiki locally