Consistent and more thorough logging.
Consistent and more thorough logging.

This PR makes log entries consistent in their format, and ensures
that all the core functions are logged.

Bren2010/redoctober,ejcx/redoctober,ejcx/redoctober,Bren2010/redoctober