EF Core 2.2 introduces a new feature called query tags. This makes it easier to find specific queries in log files and various output windows.
Applying a query tag can be done using the TagWith() method:
Using this extension method the query description is always logged together with the query.