forked from notfood/PatchOperationHighlander
-
Notifications
You must be signed in to change notification settings - Fork 0
PatchOperation.LogText
Meru edited this page Jul 22, 2021
·
3 revisions
Writes text to console, very useful for debugging, don't understimate.
Basic usage, level can be Message, Warning (default) or Error:
<Operation Class="PatchOperation.LogText">
<value>Hello</value>
<level>Message</level>
</Operation>
Combined with PatchOperationSequence
and PatchOperation.FindModByID
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperation.LogText">
<value>Is the highlander loaded?</value>
</li>
<li Class="PatchOperation.FindModByID">
<mods>
<li>ccl.patchoperation.highlander</li>
</mods>
<match Class="PatchOperation.LogText">
<value>YES</value>
</match>
<nomatch Class="PatchOperation.LogText">
<value>NO</value>
</nomatch>
</li>
<li Class="PatchOperation.LogText">
<value>Bye</value>
</li>
</operations>
</Operation>