Adding inline to print log type method.

Now you can include logging.h on multiple files without getting a multiple
definitions of function error.