Docfix: add text for onConsoleMessage