Update log.js

Added 'debug' to ALLOWED_TYPES
(to support console.debug, changes still need to be made in the connecting libraries)