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}
Pro HTML5 and CSS3 Design Patterns
Michael Bowers / Apress / 2011-11-15 / GBP 35.50
Pro HTML5 and CSS3 Design Patterns is a reference book and a cookbook on how to style web pages using CSS3 and HTML5. It contains 350 ready--to--use patterns (CSS3 and HTML5 code snippets) that you ca......一起来看看 《Pro HTML5 and CSS3 Design Patterns》 这本书的介绍吧!
