switched over to be instance based instead of static
added support for multiple log targets, defaults to console. Added support to handle browsers with no or limited console support