Removed confusing loggerProp() function, instead just defining the one property using it directly.

Also, cleaned up some formatting and comments.