title: Serilog Memory Sink
body: <p>Is there a Serilog sink that just writes to a buffer in memory?  What I am thinking about is a sink that will store X lines and then I could access those X lines and show them on a web page via an api controller.  This would be more for viewing recent errors that occurred in the application.</p>
  
  <p>I looked on the GitHub sink page (<a href="https://github.com/serilog/serilog/wiki/Provided-Sinks" rel="nofollow noreferrer">https://github.com/serilog/serilog/wiki/Provided-Sinks</a>) but did not see one and just wondered if there was something I was missing.</p>