-
Notifications
You must be signed in to change notification settings - Fork 862
Expand file tree
/
Copy pathLog.cs
More file actions
22 lines (19 loc) · 744 Bytes
/
Log.cs
File metadata and controls
22 lines (19 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Telemetry.Logging;
namespace Microsoft.Extensions.Http.Resilience.FaultInjection.Internal;
internal static partial class Log
{
[LogMethod(0, LogLevel.Information,
"Fault-injection group name: {groupName}. " +
"Fault type: {faultType}. " +
"Injected value: {injectedValue}. " +
"Http content key: {httpContentKey}.")]
public static partial void LogInjection(
ILogger logger,
string groupName,
string faultType,
string injectedValue,
string httpContentKey);
}