Ptr<Log> GetLog() const;
GetLog obtains a pointer set by SetLog to Log state object, used for logging messages and errors.
A Log pointer to the log of the StateBag.