title: Complete Elmah Logging Setup for asp.net web api 2
body: <p>I have been reading so many different posts the last hour. I cannot simply find one, start to finish article / tutorial on how to wire up elmah to do the following in asp.net web api 2:</p>
  
  <ol>
  <li>Which nuget package to install</li>
  <li>Log ALL exceptions, 500, 404 , 200 etc in controller and pipeline space</li>
  <li>Store Exception In SQL or Memory</li>
  <li>View the exceptions at <code>/elmah.axd</code></li>
  <li>Email Exceptions to email address.</li>
  </ol>
  
  <p>I seem to have found bits and pieces of this all over the net, but not one that ties them all together. And if I must be honest I have not come right with it either.</p>