private void SetColorOnEventType(TraceEventType eventType) { if (!_useColor) { return; } var color = _typeColors[eventType]; if (color == _currentColor) { return; } _currentColor = color; TronTrace.SetColor(color); }
public override void WriteLine(string message) { TronTrace.PrintLine(message); }