using System; namespace Wayne.Lib.Log.SlowLog { public static class SlowLog { public static ISlowLogger Measure(string context, TimeSpan threshold) { return new Slowlogger(context, threshold); } static SlowLog() { Dummy = new DummySlowLog(); } public static ISlowLogger Dummy { get; private set; } } }