elog-gen: Support more types

Support boolean, int8, uint8 types.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I4e16b80788994e07050ce1e2bdb3ea8eeb7666a3
diff --git a/tools/elog-gen.py b/tools/elog-gen.py
index af2e1ff..439beee 100755
--- a/tools/elog-gen.py
+++ b/tools/elog-gen.py
@@ -86,9 +86,12 @@
 
 def get_cpp_type(i_type):
     typeMap = {
+        'boolean': 'bool',
+        'int8': 'int8_t',
         'int16': 'int16_t',
         'int32': 'int32_t',
         'int64': 'int64_t',
+        'uint8': 'uint8_t',
         'uint16': 'uint16_t',
         'uint32': 'uint32_t',
         'uint64': 'uint64_t',