C-DEngine 5.105

TheSystemMessageLog..::..WriteToLogSafe Method

Overload List


  Name Description
Public method WriteToLogSafe(Int32, eDEBUG_LEVELS, Func<(Of <<'(TSM>)>>))
Writes a TSM to the SystemLog with a given ID, if the logLevel is greater than the configured debug level (TheBaseAssets.MyServiceHostInfo.DebugLevel). The TSM is only created if logging will actually occur. If the TSM creation fails, an alternate text is logged.
Public method WriteToLogSafe(Int32, eDEBUG_LEVELS, Func<(Of <<'(TSM>)>>), Boolean)
Writes a TSM to the SystemLog with a given ID, if the logLevel is greater than the configured debug level (TheBaseAssets.MyServiceHostInfo.DebugLevel). The TSM is only created if logging will actually occur. If the TSM creation fails, an alternate text is logged.