RoboZhando/Logging/Logger.cs
/// <summary>
/// Look through the parent structure to the very root and fetch the result.
/// </summary>
/// <returns>The root parent that logs the messages.</returns>
Look through the parent structure to the very root and fetch the result.
Look through the parent structure to the very root and fetch the result .
public Logger GetRootParent()
        {
            if (Parent == null) return null;
            if (Parent.Parent == null) return Parent;
            return Parent.GetRootParent();
        }
public Logger GetRootParent ( ) { if ( Parent == null ) return null ; if ( Parent . Parent == null ) return Parent ; return Parent . GetRootParent ( ) ; }
Look through the parent structure to the very root and fetch the result.
Look through the parent structure to the very root and fetch the result .
The root parent that logs the messages.
The root parent that logs the messages .