Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
System.Diagnostics.TraceSource Class Reference

Public Member Functions

 TraceSource (string name)
 
 TraceSource (string name, SourceLevels defaultLevel)
 
void Close ()
 
void Flush ()
 
void TraceEvent (TraceEventType eventType, int id)
 
void TraceEvent (TraceEventType eventType, int id, string? message)
 
void TraceEvent (TraceEventType eventType, int id, string? format, params object?[]? args)
 
void TraceData (TraceEventType eventType, int id, object? data)
 
void TraceData (TraceEventType eventType, int id, params object?[]? data)
 
void TraceInformation (string? message)
 
void TraceInformation (string? format, params object?[]? args)
 
void TraceTransfer (int id, string? message, Guid relatedActivityId)
 

Package Functions

virtual ? string[] GetSupportedAttributes ()
 
void Refresh ()
 

Static Package Functions

static void RefreshAll ()
 

Package Attributes

volatile bool _initCalled
 

Properties

StringDictionary Attributes [get]
 
string Name [get]
 
TraceListenerCollection Listeners [get]
 
SourceSwitch Switch [get, set]
 

Private Member Functions

void Initialize ()
 
void NoConfigInit ()
 

Static Private Member Functions

static void _pruneCachedTraceSources ()
 

Private Attributes

volatile SourceSwitch _internalSwitch
 
volatile TraceListenerCollection _listeners
 
readonly SourceLevels _switchLevel
 
readonly string _sourceName
 
StringDictionary _attributes
 

Static Private Attributes

static readonly List< WeakReference< TraceSource > > s_tracesources = new List<WeakReference<TraceSource>>()
 
static int s_LastCollectionCount
 

Detailed Description

Definition at line 7 of file TraceSource.cs.


The documentation for this class was generated from the following file: