title: How can I have Miniprofiler just call may log method for the profile messages
body: <p>I am building a windows service.</p>
  
  <p>I am trying to have miniprofiler,  intercept ado.net calls and hand the messages to my application's logging system.</p>
  
  <p>All miniprofiler needs to do is to call a static method Log(string text).</p>
  
  <p>I went through the following post and learned how to intercept ado.net calls:</p>
  
  <p><a href="https://stackoverflow.com/questions/28063601/using-miniprofiler-for-direct-ado-net-calls">Using MiniProfiler for direct ADO.net calls</a></p>
  
  <p>It seems that the only unsolved puzzle is to have miniprofile call my log method. How can I do that? </p>
  
  <p>I went through the site  <a href="http://miniprofiler.com/" rel="nofollow noreferrer">http://miniprofiler.com/</a>, but the documentation is minimal.</p>