Update log function to resolve some minor bugs.

This update resolves a bug where it is assumed multiple types can be
specified but only one is allowed and adds more props to the default
array.