Since the codes in logging.rs is weakly related to the project, separating it from the project will reduce coupling and make it reusable. Fixes: #131 Signed-off-by: Tim Zhang <tim@hyper.sh>