Added shortcut functions for logging.

Tried some other stuff