Made the variants deserialize as u32 because that's the type that is given when serializing. Added tests
Made the variants deserialize as u32 because that's the type that is given when serializing.
Added tests

rust-lang/log