{"repo":"voidnone/logging","free":true,"listed":false,"github":"https://github.com/voidnone/logging","clone":"git clone https://github.com/voidnone/logging.git","description":null,"language":"C#","stars":31,"topics":["asp-net-core","logging","dotnetcore"],"license":"MIT","category":"analytics","readme_excerpt":"VoidNone.Logging Simple logging providers for Microsoft.Extensions.Logging . This repository currently contains two packages: - VoidNone.Logging.Core : plug in your own ILogWriter - VoidNone.Logging.File : write logs to files by log level and date Install VoidNone.Logging.Core Use VoidNone.Logging.Core when you want to keep the standard logging API but send log entries to your own destination. Custom writer Registration Filtering VoidNone.Logging.Core works with the standard Logging configuration model: VoidNone.Logging.File Use VoidNone.Logging.File when you want logs written to disk under the application directory. Registration You can also customize the file logger: Options Option Default Description --- --- --- Path logs Base folder under AppContext.BaseDirectory DateFormat yyyyMMdd Date pattern used in the file name RetentionDays 90 Deletes files older than the configured number of days Output path Logs are written to: With the default options, an error log written on 2021-10-20 will be stored at: Example output Filtering Samples Sample applications are available under samples/ : - samples/Logging.CoreSample - samples/Logging.FileSample","default_branch":null,"files":null,"tree":[],"storefront":"/r/voidnone","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/voidnone/logging/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}