24 if (base.Attributes.ContainsKey(
"delimiter"))
26 string text = base.Attributes[
"delimiter"];
27 if (!
string.IsNullOrEmpty(
text))
43 if (
value.Length == 0)
89 : base(fileName, name)
95 return new string[1] {
"delimiter" };
100 if (base.Filter ==
null || base.Filter.ShouldTrace(eventCache,
source, eventType,
id,
format, args,
null,
null))
119 if (base.Filter ==
null || base.Filter.ShouldTrace(eventCache,
source, eventType,
id, message,
null,
null,
null))
131 if (base.Filter ==
null || base.Filter.ShouldTrace(eventCache,
source, eventType,
id,
null,
null, data,
null))
143 if (base.Filter !=
null && !base.Filter.ShouldTrace(eventCache,
source, eventType,
id,
null,
null,
null, data))
151 for (
int i = 0; i < data.Length; i++)
168 Write(eventType.ToString());
176 if (eventCache !=
null)
210 for (
int i = 0; i < 5; i++)
220 if (!
string.IsNullOrEmpty(message))
224 stringBuilder.
Append(
'"');
233 foreach (
object item in stack)
237 stringBuilder.Append(
", ");
243 string message =
item?.ToString();
246 stringBuilder.Append(
'"');
247 Write(stringBuilder.ToString());
252 if (!
string.IsNullOrEmpty(message))
256 while ((num2 = message.IndexOf(
'"', num)) != -1)
258 sb.
Append(message, num, num2 - num);
262 sb.
Append(message, num, message.Length - num);
DelimitedListTraceListener(string? fileName, string? name)
override void TraceEvent(TraceEventCache? eventCache, string source, TraceEventType eventType, int id, string? message)
DelimitedListTraceListener(Stream stream, string? name)
void WriteStackEscaped(Stack stack)
DelimitedListTraceListener(string? fileName)
override void TraceEvent(TraceEventCache? eventCache, string source, TraceEventType eventType, int id, string? format, params object?[]? args)
override void TraceData(TraceEventCache? eventCache, string source, TraceEventType eventType, int id, params object?[]? data)
void WriteFooter(TraceEventCache eventCache)
override string[] GetSupportedAttributes()
DelimitedListTraceListener(Stream stream)
DelimitedListTraceListener(TextWriter writer)
void EscapeMessage(string message, StringBuilder sb)
void WriteHeader(string source, TraceEventType eventType, int id)
override void TraceData(TraceEventCache? eventCache, string source, TraceEventType eventType, int id, object? data)
DelimitedListTraceListener(TextWriter writer, string? name)
void WriteEscaped(string message)
bool IsEnabled(TraceOptions opts)
override void WriteLine(string? message)
Stack LogicalOperationStack
static CultureInfo InvariantCulture
static string Format(string resourceFormat, object p1)
static string Generic_ArgCantBeEmptyString
override string ToString()
StringBuilder Append(char value, int repeatCount)
override string ToString()