Print "Failed to load c++ bson extension" to stderr
Print "Failed to load c++ bson extension" to stderr

Warning "Failed to load c++ bson extension, using pure JS version" should be printed to stderr instead of stdout.

All diagnostic output should go to stderr. Printing to stdout breaks command line programs, whose output is parsed by other tools.
mongodb/js-bson,mongodb/js-bson,kevinsawicki/js-bson,JacksonTian/js-bson,kevinsawicki/js-bson,kevinsawicki/js-bson,kevinsawicki/js-bson,mongodb/js-bson,msmiley/js-bson,timkuijsten/js-bson,flyingfisher/js-bson,jkresner/js-bson,jkresner/js-bson,JacksonTian/js-bson,flyingfisher/js-bson,mongodb/js-bson,timkuijsten/js-bson,msmiley/js-bson