add LoggingInInterceptor and LoggingOutInterceptor.

Signed-off-by: Flycoding <Flycoding@yeah.net>