Support logging a number as the first parameter

This adds support for numbers. Yes, the if statement is a little redundant. For issue #131