add event base
add colored log
add buffer