Skip to content

Commit 8aa5c63

Browse files
committed
fix: use legacy logger from IFC
1 parent 77b61a2 commit 8aa5c63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Framework/Intersect.Framework.Core/GameObjects/Annotations/EditorFormattedAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System.Reflection;
22

33
using Intersect.Localization;
4+
using Intersect.Logging;
45

56
#if !DEBUG
67
using Intersect.Logging;
@@ -46,7 +47,7 @@ public override string Format(Type stringsType, object value)
4647
#if DEBUG
4748
throw error;
4849
#else
49-
Log.Error(error);
50+
LegacyLogging.Logger?.Error(error);
5051
return base.Format(stringsType, value);
5152
#endif
5253
}

0 commit comments

Comments
 (0)