Exemplo n.º 1
0
        void Trace(TracableEvent tracableEvent)
        {
            if (tracableEvent == null)
            {
                throw new ArgumentNullException(nameof(tracableEvent));
            }

            TraceConstants.Source.TraceEvent(tracableEvent.EventType, tracableEvent.EventId);
        }
Exemplo n.º 2
0
        void Trace(TracableEvent tracableEvent, object report)
        {
            if (tracableEvent == null)
            {
                throw new ArgumentNullException(nameof(tracableEvent));
            }

            TraceConstants.Source.TraceData(tracableEvent.EventType, tracableEvent.EventId, report);
        }