Skip to content

Commit dbb21d7

Browse files
committed
Allow setting the DataIncludeRegex in code
1 parent b8c107a commit dbb21d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StackExchange.Exceptional/Error.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class Error
3232
/// <summary>
3333
/// Gets the data include pattern, like "SQL.*|Redis-*" to match against .Data keys to include when logging
3434
/// </summary>
35-
public static Regex DataIncludeRegex { get; }
35+
public static Regex DataIncludeRegex { get; set; }
3636

3737
static Error()
3838
{

0 commit comments

Comments
 (0)