title: How to log queries using Entity Framework 7?
body: <p>I am using Entity Framework 7 on the nightly build channel (right now I'm using version EntityFramework.7.0.0-beta2-11524) and I'm trying to log the queries that EF generates just out of curiosity.</p>
  
  <p>I'm writing a simple console program, I tried using the <a href="http://msdn.microsoft.com/en-us/data/dn469464.aspx#Log">same logging technic</a> that EF6 uses, but <code>DbContext.Database.Log</code>is not available on Entity Framework 7. Is there a way to log or just take a peek at the SQL generated by EF7?</p>