1 write to _logger
Microsoft.Extensions.AI (1)
Common\FunctionInvocationProcessor.cs (1)
45
_logger
= logger;
13 references to _logger
Microsoft.Extensions.AI (13)
Common\FunctionInvocationProcessor.cs (13)
119
FunctionInvocationLogger.LogFunctionNotFound(
_logger
, callContent.Name);
125
FunctionInvocationLogger.LogNonInvocableFunction(
_logger
, callContent.Name);
137
FunctionInvocationLogger.LogFunctionRequestedTermination(
_logger
, callContent.Name);
146
FunctionInvocationLogger.LogFunctionRequestedTermination(
_logger
, callContent.Name);
182
bool traceLoggingEnabled =
_logger
.IsEnabled(LogLevel.Trace);
196
FunctionInvocationLogger.LogInvokingSensitive(
_logger
, context.Function.Name, functionArguments);
201
if (!loggedInvoke &&
_logger
.IsEnabled(LogLevel.Debug))
203
FunctionInvocationLogger.LogInvoking(
_logger
, context.Function.Name);
221
FunctionInvocationLogger.LogInvocationCanceled(
_logger
, context.Function.Name);
225
FunctionInvocationLogger.LogInvocationFailed(
_logger
, context.Function.Name, e);
244
FunctionInvocationLogger.LogInvocationCompletedSensitive(
_logger
, context.Function.Name, FunctionInvocationHelpers.GetElapsedTime(startingTimestamp), functionResult);
249
if (!loggedResult &&
_logger
.IsEnabled(LogLevel.Debug))
251
FunctionInvocationLogger.LogInvocationCompleted(
_logger
, context.Function.Name, FunctionInvocationHelpers.GetElapsedTime(startingTimestamp));