public void TestMethod() { var msg = new Models.LogEvent(Guid.NewGuid().ToString(), "测试.net", "net_unittest", "hello Mango.Log4Net.ElasticSearch"); log.Error(msg, new Exception("手动抛出异常")); }
public void Test() { var msg = new Models.LogEvent(Guid.NewGuid().ToString(), "²âÊÔ.net core", "hello Mango.Log4Net.ElasticSearch"); log.Error(msg, new Exception("ÊÖ¶¯Å׳öÒì³£")); }