You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var child = LogManager.GetLogger("A.B.C"); var parent = LogManager.GetLogger("A.B")
you get
Message: System.InvalidCastException : Unable to cast object of type 'log4net.Repository.Hierarchy.ProvisionNode' to type 'log4net.Repository.Hierarchy.Logger'.
Stack Trace: <>c__DisplayClass32_0.<GetLogger>g__CreateLogger|1(Action1 extraInit) line 688 Hierarchy.GetLogger(String name, ILoggerFactory factory) line 679 Hierarchy.GetLogger(String name) line 317`
src/log4net/Repository/Hierarchy/Hierarchy.cs in b5f6ea2#126
The text was updated successfully, but these errors were encountered:
When creating nested loggers in reverse order
var child = LogManager.GetLogger("A.B.C");
var parent = LogManager.GetLogger("A.B")
you get
Message:
System.InvalidCastException : Unable to cast object of type 'log4net.Repository.Hierarchy.ProvisionNode' to type 'log4net.Repository.Hierarchy.Logger'.
Stack Trace:
<>c__DisplayClass32_0.<GetLogger>g__CreateLogger|1(Action
1 extraInit) line 688src/log4net/Repository/Hierarchy/Hierarchy.cs in b5f6ea2 #126
The text was updated successfully, but these errors were encountered: