1 write to _logger
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClient.cs (1)
90
_logger
= (ILogger?)loggerFactory?.CreateLogger<FunctionInvokingChatClient>() ?? NullLogger.Instance;
3 references to _logger
Microsoft.Extensions.AI (3)
ChatCompletion\FunctionInvokingChatClient.cs (3)
1156
bool traceLoggingEnabled =
_logger
.IsEnabled(LogLevel.Trace);
1174
if (!loggedInvoke &&
_logger
.IsEnabled(LogLevel.Debug))
1223
if (!loggedResult &&
_logger
.IsEnabled(LogLevel.Debug))