5 references to LoggingHelpers
Microsoft.Extensions.AI (5)
ChatCompletion\FunctionInvokingChatClient.cs (2)
857LogInvokingSensitive(context.Function.Name, LoggingHelpers.AsJson(context.Arguments, context.Function.JsonSerializerOptions)); 898LogInvocationCompletedSensitive(context.Function.Name, elapsed, LoggingHelpers.AsJson(result, context.Function.JsonSerializerOptions));
ChatCompletion\LoggingChatClient.cs (1)
172private string AsJson<T>(T value) => LoggingHelpers.AsJson(value, _jsonSerializerOptions);
Image\LoggingImageGenerator.cs (1)
105private string AsJson<T>(T value) => LoggingHelpers.AsJson(value, _jsonSerializerOptions);
SpeechToText\LoggingSpeechToTextClient.cs (1)
182private string AsJson<T>(T value) => LoggingHelpers.AsJson(value, _jsonSerializerOptions);