Skip to content

Commit 9fd37be

Browse files
authored
Logging renames (#1489)
1 parent fc8642b commit 9fd37be

File tree

1 file changed

+12
-12
lines changed
  • src/Polly.Extensions/Telemetry

1 file changed

+12
-12
lines changed

src/Polly.Extensions/Telemetry/Log.cs

+12-12
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ internal static partial class Log
1212
EventId = 0,
1313
Message = "Resilience event occurred. " +
1414
"EventName: '{EventName}', " +
15-
"Source: '{BuilderName}/{BuilderInstance}/{StrategyName}', " +
15+
"Source: '{PipelineName}/{PipelineInstance}/{StrategyName}', " +
1616
"Operation Key: '{OperationKey}', " +
1717
"Result: '{Result}'",
1818
EventName = "ResilienceEvent")]
1919
public static partial void ResilienceEvent(
2020
this ILogger logger,
2121
LogLevel logLevel,
2222
string eventName,
23-
string builderName,
24-
string builderInstance,
23+
string pipelineName,
24+
string pipelineInstance,
2525
string? strategyName,
2626
string? operationKey,
2727
object? result,
@@ -31,21 +31,21 @@ public static partial void ResilienceEvent(
3131
1,
3232
LogLevel.Debug,
3333
"Resilience pipeline executing. " +
34-
"Source: '{BuilderName}/{BuilderInstance}', " +
34+
"Source: '{PipelineName}/{PipelineInstance}', " +
3535
"Operation Key: '{OperationKey}', " +
3636
"Result Type: '{ResultType}'",
3737
EventName = "StrategyExecuting")]
3838
public static partial void PipelineExecuting(
3939
this ILogger logger,
40-
string builderName,
41-
string builderInstance,
40+
string pipelineName,
41+
string pipelineInstance,
4242
string? operationKey,
4343
string resultType);
4444

4545
[LoggerMessage(
4646
EventId = 2,
4747
Message = "Resilience pipeline executed. " +
48-
"Source: '{BuilderName}/{BuilderInstance}', " +
48+
"Source: '{PipelineName}/{PipelineInstance}', " +
4949
"Operation Key: '{OperationKey}', " +
5050
"Result Type: '{ResultType}', " +
5151
"Result: '{Result}', " +
@@ -55,8 +55,8 @@ public static partial void PipelineExecuting(
5555
public static partial void PipelineExecuted(
5656
this ILogger logger,
5757
LogLevel logLevel,
58-
string builderName,
59-
string builderInstance,
58+
string pipelineName,
59+
string pipelineInstance,
6060
string? operationKey,
6161
string resultType,
6262
object? result,
@@ -67,7 +67,7 @@ public static partial void PipelineExecuted(
6767
[LoggerMessage(
6868
EventId = 3,
6969
Message = "Execution attempt. " +
70-
"Source: '{BuilderName}/{BuilderInstance}/{StrategyName}', " +
70+
"Source: '{PipelineName}/{PipelineInstance}/{StrategyName}', " +
7171
"Operation Key: '{OperationKey}', " +
7272
"Result: '{Result}', " +
7373
"Handled: '{Handled}', " +
@@ -78,8 +78,8 @@ public static partial void PipelineExecuted(
7878
public static partial void ExecutionAttempt(
7979
this ILogger logger,
8080
LogLevel level,
81-
string builderName,
82-
string builderInstance,
81+
string pipelineName,
82+
string pipelineInstance,
8383
string strategyName,
8484
string? operationKey,
8585
object? result,

0 commit comments

Comments
 (0)