add more levels for print_logging and improve readability