Thread safe error logging. Important when using node.
Strict mode compliant method definition
Added handling for node's SlowBuffer byte array