Skip to content

Commit

Permalink
dont fail on existing configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-heinz committed Jan 8, 2022
1 parent 7d5ccae commit 7da9176
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.1
1.1.2
5 changes: 5 additions & 0 deletions Arrowgene.Logging/LogProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ public static void Configure(Type type, object configuration)
/// </summary>
public static void Configure(string identity, object configuration)
{
if (Configurations.ContainsKey(identity))
{
return;
}

Configurations.Add(identity, configuration);
}

Expand Down

0 comments on commit 7da9176

Please sign in to comment.