init: support the "loglevel" command.

N/A

Change-Id: Idc23ea2ca2c67ded7c2301fd1e45e37c3e9731e3
Signed-off-by: liminghao <liminghao@xiaomi.com>