{"repo":"serilog-contrib/serilog-sinks-notepad","free":true,"listed":false,"github":"https://github.com/serilog-contrib/serilog-sinks-notepad","clone":"git clone https://github.com/serilog-contrib/serilog-sinks-notepad.git","description":"A Serilog sink that writes log events to Notepad as text or JSON","language":"C#","stars":71,"topics":["serilog-sink","serilog","sink","notepad","logging","serilog-sinks-notepad","hacktoberfest","augustoproiete"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"README.md :--- Serilog.Sinks.Notepad A Serilog sink that writes log events to Notepad ( Yes, you've read it right! ). Simply open Notepad and immediately start receiving logs from your application, without even touching the filesystem. Serilog.Sinks.Notepad writes messages to the most recent notepad.exe started on current user's session, by default. This behavior can be changed in the sink configuration. The default output is plain text; JSON formatting can be plugged in using a package such as Serilog.Formatting.Compact . 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.Notepad package from NuGet: To configure the sink in C# code, call WriteTo.Notepad() during logger configuration: Open Notepad, and you should see the logs appear in that Notepad window you've just opened. By default, Serilog.Sinks.Notepad writes messages to the most recent notepad.exe started by the user. This behavior can be changed in the sink configuration. Background I created this sink just for fun, after reading this comment on Reddit: I thought it was a clever idea to be able to simply open a Notepad instance and immediately start receiving logs from your application, and I can imagine this actually being useful for troubleshooting issues with applications. Configuration Output templates The format of events written to Notepad can be modified using the outputTemplate configuration parameter: The default template","default_branch":null,"files":null,"tree":[],"storefront":"/r/serilog-contrib","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/serilog-contrib/serilog-sinks-notepad/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."}