Method LogSearch
- Namespace
- Innova.Prism.Infrastructure.Logging
- Assembly
- Innova.Prism.Infrastructure.dll
LogSearch<T>(ILogger, string, EntityQuery<T>)
Logs the action of searching.
public static void LogSearch<T>(this ILogger logger, string header, EntityQuery<T> entityQuery) where T : class
Parameters
logger
ILoggerThe logger instance.
header
stringThe search header.
entityQuery
EntityQuery<T>The entity query.
Type Parameters
T
The type of the entity.
Remarks
The entity must be a class.