Skip to content

Commit

Permalink
Release 2.0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pardeike committed Feb 18, 2020
1 parent 3b49db5 commit beca831
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Harmony/Internal/MethodPatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ internal static DynamicMethodDefinition CreateDynamicMethod(MethodBase original,
}
#endif

FileLog.LogBuffered($"### Replacement: static {returnType.FullDescription()} {original.DeclaringType.FullName}::{patchName}{parameterTypes.ToArray().Description()}");
if (debug)
FileLog.LogBuffered($"### Replacement: static {returnType.FullDescription()} {original.DeclaringType.FullName}::{patchName}{parameterTypes.ToArray().Description()}");

return method;
}
Expand Down

0 comments on commit beca831

Please sign in to comment.