a stab at logr, as a part of mlearn