1 write to _logger
Microsoft.Extensions.AI (1)
Common\FunctionInvocationProcessor.cs (1)
45
_logger
= logger;
12 references to _logger
Microsoft.Extensions.AI (12)
Common\FunctionInvocationProcessor.cs (12)
119
FunctionInvocationLogger.LogFunctionNotFound(
_logger
, callContent.Name);
125
FunctionInvocationLogger.LogNonInvocableFunction(
_logger
, callContent.Name);
137
FunctionInvocationLogger.LogFunctionRequestedTermination(
_logger
, callContent.Name);
177
bool traceLoggingEnabled =
_logger
.IsEnabled(LogLevel.Trace);
191
FunctionInvocationLogger.LogInvokingSensitive(
_logger
, context.Function.Name, functionArguments);
196
if (!loggedInvoke &&
_logger
.IsEnabled(LogLevel.Debug))
198
FunctionInvocationLogger.LogInvoking(
_logger
, context.Function.Name);
216
FunctionInvocationLogger.LogInvocationCanceled(
_logger
, context.Function.Name);
220
FunctionInvocationLogger.LogInvocationFailed(
_logger
, context.Function.Name, e);
239
FunctionInvocationLogger.LogInvocationCompletedSensitive(
_logger
, context.Function.Name, FunctionInvocationHelpers.GetElapsedTime(startingTimestamp), functionResult);
244
if (!loggedResult &&
_logger
.IsEnabled(LogLevel.Debug))
246
FunctionInvocationLogger.LogInvocationCompleted(
_logger
, context.Function.Name, FunctionInvocationHelpers.GetElapsedTime(startingTimestamp));