public HubTraceListener() { _loggingConnection = new Lazy <LoggingConnection>(true); queueBuffer = new QueueBuffer(); timer = new Timer(TimerCallback, null, 1000, Timeout.Infinite); }
public HubTraceListener() { _loggingConnection = new Lazy <LoggingConnection>(() => new LoggingConnection(this.Template, this.InstanceId), true); queueBuffer = new QueueBuffer(); timer = new Timer(TimerCallback, null, 1000, Timeout.Infinite); }