Skip to content

Commit

Permalink
fix: stack overflow getting logger
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpach committed Apr 10, 2020
1 parent de87634 commit 55e075c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirror/Runtime/LogFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static ILogger GetLogger<T>()

public static ILogger GetLogger(System.Type type)
{
return GetLogger(type);
return GetLogger(type.Name);
}

public static ILogger GetLogger(string loggerName)
Expand Down

0 comments on commit 55e075c

Please sign in to comment.