public static IDisposable SetTracer(ITracer tracer) { Guard.NotNull(() => tracer, tracer); return new TracerReplacer(tracer); }