public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format, params object[] args) { var color = GetColor(eventType, id); ColorConsole.WriteLine(color, eventCache.DateTime.ToString("[HH:mm:ss.fff] ") + format, args); }
public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id) { var color = GetColor(eventType, id); ColorConsole.WriteLine(color, eventCache.DateTime.ToString("[HH:mm:ss.fff]")); }