Final exercises from Chris Pine book (logging text wrappers)