我有这样的代码:Loggerlogger=newLogger();System.Diagnostics.StopwatchstopWatch=newSystem.Diagnostics.Stopwatch();logger.LogInformation("CallingSomeObject.SomeMethodat"+DateTime.Now.ToString());stopWatch.Start();//ThisisthemethodI'minterestedin.SomeResponseresponse=someObject.SomeMethod(someParam);stopWa