Example #1
0
        private void SetColorOnEventType(TraceEventType eventType)
        {
            if (!_useColor)
            {
                return;
            }

            var color = _typeColors[eventType];

            if (color == _currentColor)
            {
                return;
            }

            _currentColor = color;
            TronTrace.SetColor(color);
        }
Example #2
0
 public override void WriteLine(string message)
 {
     TronTrace.PrintLine(message);
 }