{"repo":"serilog-contrib/serilog-sinks-exceldnalogdisplay","free":true,"listed":false,"github":"https://github.com/serilog-contrib/serilog-sinks-exceldnalogdisplay","clone":"git clone https://github.com/serilog-contrib/serilog-sinks-exceldnalogdisplay.git","description":"A Serilog sink that writes events to Excel-DNA LogDisplay","language":"C#","stars":13,"topics":["serilog-sink","serilog","sink","exceldna","excel-dna","logdisplay","logging","hacktoberfest","augustoproiete"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"README.md :--- Serilog.Sinks.ExcelDnaLogDisplay Writes Serilog events to Excel-DNA LogDisplay . Give a Star! :star: If you like or are using this project please give it a star. Thanks! Getting started :rocket: Install the Serilog.Sinks.ExcelDnaLogDisplay package from NuGet: To configure the sink in C# code, call WriteTo.ExcelDnaLogDisplay() during logger configuration: Example of an Excel-DNA add-in using Serilog with this sink In the sample folder, there's an example of an Excel-DNA add-in that uses Serilog for logging to the LogDisplay of Excel-DNA using this sink, from different contexts, suchs as from an ExcelRibbon control event handler as well from an ExcelFunction : XML configuration To use the Excel-DNA LogDisplay sink with the Serilog.Settings.AppSettings package, first install that package if you haven't already done so: Instead of configuring the logger in code, call ReadFrom.AppSettings() : In your Excel-DNA Add-In's App.config , specify the Excel-DNA LogDisplay sink assembly under the node: The parameters that can be set through the serilog:write-to:ExcelDnaLogDisplay keys are the method parameters accepted by the WriteTo.ExcelDnaLogDisplay() configuration method. This means, for example, that the displayOrder parameter can be set with: Controlling event formatting The Excel-DNA LogDisplay sink creates events in a fixed text format by default: The format is controlled using an output template , which the Excel-DNA LogDisplay sink configuration method accepts as a","default_branch":null,"files":null,"tree":[],"storefront":"/r/serilog-contrib","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/serilog-contrib/serilog-sinks-exceldnalogdisplay/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."}