Make LogSeverity typedef of a uchar, not a struct
Add example program per the README code