Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ReportOutOfBandMessage()

void System.Diagnostics.Tracing.EventSource.ReportOutOfBandMessage ( string msg)
inlinepackageinherited

Definition at line 2704 of file EventSource.cs.

2705 {
2706 try
2707 {
2708 if (m_outOfBandMessageCount < 15)
2709 {
2711 }
2712 else
2713 {
2714 if (m_outOfBandMessageCount == 16)
2715 {
2716 return;
2717 }
2719 msg = "Reached message limit. End of EventSource error messages.";
2720 }
2721 Debugger.Log(0, null, "EventSource Error: " + msg + Environment.NewLine);
2722 WriteEventString(msg);
2723 WriteStringToAllListeners("EventSourceMessage", msg);
2724 }
2725 catch
2726 {
2727 }
2728 }
void WriteStringToAllListeners(string eventName, string msg)
unsafe void WriteEventString(string msgString)

References System.Diagnostics.Debugger.Log(), System.Diagnostics.Tracing.EventSource.m_outOfBandMessageCount, System.Environment.NewLine, System.Diagnostics.Tracing.EventSource.WriteEventString(), and System.Diagnostics.Tracing.EventSource.WriteStringToAllListeners().

Referenced by System.Diagnostics.Tracing.EventSource.DispatchToAllListeners(), System.Diagnostics.Tracing.EventSource.DoCommand(), System.Diagnostics.Tracing.EventSource.Initialize(), System.Diagnostics.Tracing.EventSource.LogEventArgsMismatches(), System.Diagnostics.Tracing.DiagnosticCounter.ReportOutOfBandMessage(), System.Diagnostics.Tracing.EventSource.ThrowEventSourceException(), and System.Diagnostics.Tracing.EventSource.WriteToAllListeners().