Link Search Menu Expand Document

AddLogEntry

Function name AddLogEntry
Function Library Content/DRGLib/LoggingFunctions/LIB_F_Log
Inputs LIB_A_MainRef(LIB_A_Main Object reference)
LogSeverity(LIB_E_LogSeverity Enum) The severity level of the log entry
Prefix(String) A prefix to place before the log entry
LogEntry(String) The log entry

Adds an entry to the log saved by DRGLib. Prefix is intended as your mod’s name

Entry format: LogSeverity + “: “ + Prefix + “: “ + LogEntry

Node Usage:
Example image