If GetNetMode returns an enum, the enum must probably be a UEnum. Else there is no reason it wouldn’t work. If you have to work with an enum from engine source code which is not a UEnum you could also convert enum to byte or use (TEnumAsByte) to print the byte value in the logger.