even more custom logger compatibility