private static void TestLog(ITlog tlog) { tlog.Trace("trace"); tlog.Debug("debug"); for (var i = 0; i < 20; i++) { tlog.Info("info: " + i); } try { MethodWitnIntentionalNullpointer(); } catch (Exception e) { tlog.Error("error", e); } }
public AsyncTLog(ITlog log) { _log = log; }