add colorful logger
fix inf output