Skip to content

Commit

Permalink
A bit of extra logging, in case the new deserialization code can't ex…
Browse files Browse the repository at this point in the history
…ecute on pre 9.x versions
  • Loading branch information
cassidydotdk committed May 23, 2021
1 parent a83b1fa commit 844f33b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("4.1.5.0")]
[assembly: AssemblyFileVersion("4.1.5.0")]
[assembly: AssemblyInformationalVersion("4.1.5-pre2")]
[assembly: AssemblyInformationalVersion("4.1.5-pre3")]
[assembly: CLSCompliant(false)]
5 changes: 5 additions & 0 deletions src/Unicorn/Deserialization/DefaultDeserializerLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,10 @@ public void SkippedPastingIgnoredField(Item item, IItemFieldValue field)
{

}

public void LogSystemMessage(string message)
{
_logger.Debug($"* {message}");
}
}
}
3 changes: 1 addition & 2 deletions src/Unicorn/Deserialization/UnicornDeserializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ namespace Unicorn.Deserialization
{
public class UnicornDeserializer : DefaultDeserializer
{
// This constructor being kept in place for now, for configuration compatibility
public UnicornDeserializer(bool ignoreBranchId, IDefaultDeserializerLogger logger, IFieldFilter fieldFilter) : base(logger, fieldFilter)
public UnicornDeserializer(IDefaultDeserializerLogger logger, IFieldFilter fieldFilter) : base(logger, fieldFilter)
{
}

Expand Down

0 comments on commit 844f33b

Please sign in to comment.