Entity Framework Core / 7 SQL Logging
<p>Looking at <a href="https://stackoverflow.com/questions/1412863/how-do-i-view-the-sql-generated-by-the-entity-framework">this similar question</a> I need to do the same thing, that is I want the SQL to be copied to my Output, but I need it done for <code>EF Core / 7</code></p>

<p>I tried adding the <code>LogFactory</code> as is shown in <a href="https://stackoverflow.com/questions/39282951/enable-raw-sql-logging-in-entity-framework-core">this example</a></p>

<p>But that did not produce the SQL output either... what am I missing?</p>