public override void TraceData(TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data)
        {
            var entry = (LogEntry)((ICloneable)data).Clone();

            entry.Title = SanatizeTitle(entry.Title);

            var stackifyEvent = Translate(eventType, entry);

            StackifyLogger.QueueLogObject(stackifyEvent);
        }
        static StackifyTraceListener()
        {
            GlobalEventSystemFacade.SubscribeToPrepareForShutDownEvent(args =>
            {
                StackifyAPILogger.Log("Composite C1 TraceListener shutting down");
                MetricClient.StopMetricsQueue("Composite C1 TraceListener shutting down");

                StackifyLogger.Shutdown();
            });
        }