C# 日志库 Serilog
- 授权协议: Apache
- 开发语言: C#
- 操作系统: 跨平台
- 软件首页: http://serilog.net/
- 软件文档: https://github.com/serilog/serilog/wiki
软件介绍
Serilog 是一个结构化的 C# 日志库。支持从配置初始化,
Log.Logger = new LoggerConfiguration() .ReadFrom.AppSettings() .CreateLogger();
配置文件如下:
<add key="serilog:minimum-level" value="Verbose" />
<add key="serilog:write-to:RollingFile.pathFormat" value="D:\Users\TEMP\Robot-{Date}.txt" />
<add key="serilog:write-to:RollingFile.retainedFileCountLimit" value="10" />Nuget 安装:
Install-Package Serilog
var position = new { Latitude = 25, Longitude = 134 };
var elapsedMs = 34;
log.Information("Processed {@Position} in {Elapsed:000} ms.", position, elapsedMs);{"Position": {"Latitude": 25, "Longitude": 134}, "Elapsed": 34}
运营之光 2.0
黄有璨 / 电子工业出版社 / 2017-4 / 99
在互联网行业内,“运营”这个职能发展到一定阶段后,往往更需要有成熟的知识体系和工作方法来给予行业从业者以指引。 《运营之光:我的互联网运营方法论与自白 2.0》尤其难得之处在于:它既对“什么是运营”这样的概念认知类问题进行了解读,又带有大量实际的工作技巧、工作思维和工作方法,还包含了很多对于运营的思考、宏观分析和建议,可谓内容完整而全面,同时书中加入了作者亲历的大量真实案例,让全书读起来深入......一起来看看 《运营之光 2.0》 这本书的介绍吧!
