add log test cases for Time encode
add log test cases for Time encode

Signed-off-by: pacoxu <paco.xu@daocloud.io>

Kubernetes-commit: a1356f5218c51209a7831b51b462582c4a9bffc2

kubernetes/component-base