-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…54581) * Change preview overloads, take LogDefineOptions Related to #50913 * Apply PR feedback * Fix compile issue
- Loading branch information
1 parent
ca972ed
commit be5a950
Showing
8 changed files
with
69 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/libraries/Microsoft.Extensions.Logging.Abstractions/src/LogDefineOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
using System; | ||
|
||
namespace Microsoft.Extensions.Logging | ||
{ | ||
/// <summary> | ||
/// Options for <see cref="LoggerMessage.Define(LogLevel, EventId, string)"/> and its overloads | ||
/// </summary> | ||
public class LogDefineOptions | ||
{ | ||
/// <summary> | ||
/// Gets or sets the flag to skip IsEnabled check for the logging method. | ||
/// </summary> | ||
public bool SkipEnabledCheck { get; set; } | ||
} | ||
} |
Oops, something went wrong.