<?xml version="1.0" encoding="utf-8" ?>
<extension xmlns="urn:newrelic-extension">
  <instrumentation>
    <tracerFactory name="DetachWrapper">
      <match assemblyName="Serilog.Sinks.PeriodicBatching" className="Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink">
        <exactMethodMatcher methodName="OnTick" />
      </match>
    </tracerFactory>
    <tracerFactory name="NewRelic.Agent.Core.Wrapper.NoOpWrapper">
      <match assemblyName="NewRelic.LogEnrichers.Serilog" className="NewRelic.LogEnrichers.Serilog.NewRelicEnricher">
        <exactMethodMatcher methodName=".ctor" />
      </match>
      <match assemblyName="NewRelic.LogEnrichers.Serilog" className="NewRelic.LogEnrichers.Serilog.NewRelicFormatter">
        <exactMethodMatcher methodName=".ctor" />
      </match>
      <match assemblyName="NewRelic.LogEnrichers.NLog" className="NewRelic.LogEnrichers.NLog.NewRelicJsonLayout">
        <exactMethodMatcher methodName=".ctor" />
      </match>
      <match assemblyName="NewRelic.LogEnrichers.Log4Net" className="NewRelic.LogEnrichers.Log4Net.NewRelicAppender">
        <exactMethodMatcher methodName=".ctor" />
      </match>
      <match assemblyName="NewRelic.LogEnrichers.Log4Net" className="NewRelic.LogEnrichers.Log4Net.NewRelicLayout">
        <exactMethodMatcher methodName=".ctor" />
      </match>
    </tracerFactory>
  </instrumentation>
</extension>
