Fixed StreamLogType/LogLevel read/write.