【.net函数式编程】可重复的执行repeatable execution
英文原文:
https://blog.ploeh.dk/2020/03/23/repeatable-execution/
记录(Log)什么日志,以及如何记录(Log)日志。
当我访问软件组织以帮助他们提高代码的可维护性时,我经常看到这样的代码:
public ILog Log { get; }
public ActionResult Post(ReservationDto dto)
{
Log.Debug($"Entering {nameof(Post)} method...");
翻译
2021-04-29 13:36:23 ·
400 阅读 ·
0 评论