Make console.x configurable.

Currently it is impossible to direct only `debug` output to stderr. This patch allows the specific console.x method to be configured.
`s/error/warn`?