Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TraceFilter.cs
Go to the documentation of this file.
1namespace System.Diagnostics;
2
3public abstract class TraceFilter
4{
5 public abstract bool ShouldTrace(TraceEventCache? cache, string source, TraceEventType eventType, int id, string? formatOrMessage, object?[]? args, object? data1, object?[]? data);
6
7 internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage)
8 {
9 return ShouldTrace(cache, source, eventType, id, formatOrMessage, null, null, null);
10 }
11
12 internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args)
13 {
14 return ShouldTrace(cache, source, eventType, id, formatOrMessage, args, null, null);
15 }
16
17 internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1)
18 {
19 return ShouldTrace(cache, source, eventType, id, formatOrMessage, args, data1, null);
20 }
21}
bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage)
Definition TraceFilter.cs:7
bool ShouldTrace(TraceEventCache? cache, string source, TraceEventType eventType, int id, string? formatOrMessage, object?[]? args, object? data1, object?[]? data)
bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args)
bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1)