Skip to content

Commit d73d6cd

Browse files
authored
Merge pull request #9694 from keveleigh/minor-formatting
Better format the handler type in the BaseEventSystem log
2 parents 08587f7 + fa9b307 commit d73d6cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MRTK/Core/Services/BaseEventSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public virtual void RegisterHandler<T>(IEventSystemHandler handler) where T : IE
174174
#endif
175175
Debug.Assert(typeof(T).IsAssignableFrom(handler.GetType()), "Handler passed to RegisterHandler doesn't implement a type given as generic parameter.");
176176

177-
DebugUtilities.LogVerboseFormat("Registering handler {0} against system {1}", handler, this);
177+
DebugUtilities.LogVerboseFormat("Registering handler {0} against system {1}", handler.ToString().Trim(), this);
178178

179179
TraverseEventSystemHandlerHierarchy<T>(handler, RegisterHandler);
180180
}

0 commit comments

Comments
 (0)