"LogStatusDump" doesn't do anything except hold an RGWMDLogStatus and provide a dump() function on it. LogStatusDump isn't referenced anywhere else in the code base that I can find, so all we've got here is a fairly complicated and unused way of dumping a pretty string instead of an int for an enum. I can imagine many ways in which some similar construction might be useful, but none of them seem to be what we're actually doing.