Added convenience logging functions.