Support custom log system, asio_client supply a example of using it.