Add a logger class warp, enable log-level settings inmain UI