Skip to content

Commit dcd7e14

Browse files
TaoChenOSUcrickmanglahaye
authored
.Net: Fix PlannerInstrumentation log message typo (#4904)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> There are two typos in the `PlannerInstrumentation` log message templates, which causes confusion. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Fix the typos. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 Co-authored-by: Chris <[email protected]> Co-authored-by: Gil LaHaye <[email protected]>
1 parent 7e43195 commit dcd7e14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/src/InternalUtilities/planning/PlannerInstrumentation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,13 @@ private static void LogPlanResult(this ILogger logger, object planResult)
204204
[LoggerMessage(
205205
EventId = 0,
206206
Level = LogLevel.Error,
207-
Message = "Plan creation failed. Error: {Message}")]
207+
Message = "Plan execution failed. Error: {Message}")]
208208
static partial void LogInvokePlanError(this ILogger logger, Exception exception, string message);
209209

210210
[LoggerMessage(
211211
EventId = 0,
212212
Level = LogLevel.Information,
213-
Message = "Plan creation duration: {Duration}s.")]
213+
Message = "Plan execution duration: {Duration}s.")]
214214
static partial void LogInvokePlanDuration(this ILogger logger, double duration);
215215

216216
#pragma warning restore SYSLIB1006 // Multiple logging methods cannot use the same event id within a class

0 commit comments

Comments
 (0)