using System.Reflection; namespace Team.Utility { public static class MethodTimeLogger { public static void Log(MethodBase methodBase, long milliseconds, string message) { LogUtil.WriteInfo($"执行{methodBase.Name},时间:{milliseconds}ms"); } } }