3 references to LoggingHelpers
Microsoft.Extensions.AI (3)
ChatCompletion\FunctionInvokingChatClient.cs (2)
637
LogInvokingSensitive(context.Function.Metadata.Name,
LoggingHelpers
.AsJson(context.CallContent.Arguments, context.Function.Metadata.JsonSerializerOptions));
677
LogInvocationCompletedSensitive(context.Function.Metadata.Name, elapsed,
LoggingHelpers
.AsJson(result, context.Function.Metadata.JsonSerializerOptions));
ChatCompletion\LoggingChatClient.cs (1)
171
private string AsJson<T>(T value) =>
LoggingHelpers
.AsJson(value, _jsonSerializerOptions);