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)
119FunctionInvocationLogger.LogFunctionNotFound(_logger, callContent.Name); 125FunctionInvocationLogger.LogNonInvocableFunction(_logger, callContent.Name); 137FunctionInvocationLogger.LogFunctionRequestedTermination(_logger, callContent.Name); 177bool traceLoggingEnabled = _logger.IsEnabled(LogLevel.Trace); 191FunctionInvocationLogger.LogInvokingSensitive(_logger, context.Function.Name, functionArguments); 196if (!loggedInvoke && _logger.IsEnabled(LogLevel.Debug)) 198FunctionInvocationLogger.LogInvoking(_logger, context.Function.Name); 216FunctionInvocationLogger.LogInvocationCanceled(_logger, context.Function.Name); 220FunctionInvocationLogger.LogInvocationFailed(_logger, context.Function.Name, e); 239FunctionInvocationLogger.LogInvocationCompletedSensitive(_logger, context.Function.Name, FunctionInvocationHelpers.GetElapsedTime(startingTimestamp), functionResult); 244if (!loggedResult && _logger.IsEnabled(LogLevel.Debug)) 246FunctionInvocationLogger.LogInvocationCompleted(_logger, context.Function.Name, FunctionInvocationHelpers.GetElapsedTime(startingTimestamp));