add new logger class in examples/thrift_config.py