
本篇是基于Liblog 的结构分析,同时我提倡在非netcore项目中使用此类库,正常情况下只需要在基础组件库中生成单个文件即可,同时一次安装,终身有效。 日志核心功能以接口的方式进行定义,简单有效: interface ILog{ bool Log(LogLevel logLevel, Func<string> messageFunc, Exception exception = null, params object[] formatParameters)...
Geek,Agile
Markdown supported · ⌘↵ to post
No responses yet.