public LogProvider(ILogProviderHost host, IConnectionParams connectParams, Factory factory) : base(host, factory, connectParams, new DejitteringParams() { JitterBufferSize = 25 } ) { using (trace.NewFrame) { try { eventLogIdentity = EventLogIdentity.FromConnectionParams(connectParams); StartLiveLogThread("EventLog listening thread"); } catch (Exception e) { trace.Error(e, "Failed to initialize Windows Event Log reader. Disposing what has been created so far."); Dispose(); throw; } } }
public override ILogProvider CreateFromConnectionParams(ILogProviderHost host, IConnectionParams connectParams) { return(new StreamLogProvider(host, this, connectParams, formatInfo.Value, typeof(MessagesReader))); }
ILogProvider ILogProviderFactory.CreateFromConnectionParams(ILogProviderHost host, IConnectionParams connectParams) { return(new StreamLogProvider(host, this, connectParams, XmlFormatInfo.NativeFormatInfo, typeof(MessagesReader))); }
ILogProvider ILogProviderFactory.CreateFromConnectionParams(ILogProviderHost host, IConnectionParams connectParams) { return(new LogProvider(host, connectParams, this)); }
public ILogProvider CreateFromConnectionParams(ILogProviderHost host, IConnectionParams connectParams) { return(new LogProvider(host, connectParams)); }
public override ILogProvider CreateFromConnectionParams(ILogProviderHost host, IConnectionParams connectParams) { return(new StreamLogProvider(host, this, connectParams, @params => new MessagesReader(@params, formatInfo.Value, regexFactory, traceSourceFactory))); }
ILogProvider ILogProviderFactory.CreateFromConnectionParams(ILogProviderHost host, IConnectionParams connectParams) { return(new StreamLogProvider(host, this, connectParams, @params => new MessagesReader(@params, nativeFormatInfo, regexFactory, traceSourceFactory))); }
public ILogProvider CreateFromConnectionParams(ILogProviderHost host, IConnectionParams connectParams) { return(new LogProvider(host, this, connectParams, providerStrategy)); }
public abstract ILogProvider CreateFromConnectionParams(ILogProviderHost host, IConnectionParams connectParams);
public ILogProvider CreateFromConnectionParams(ILogProviderHost host, IConnectionParams connectParams) { return(new StreamLogProvider(host, NativeXMLFormatFactory.Instance, connectParams, XmlFormatInfo.NativeFormatInfo, typeof(MessagesReader))); }