Closed ppedziwiatr closed 2 years ago
https://github.com/axa-group/nlp.js#log-training-progress
...
const manager = new NlpManager({ languages: ['en'], forceNER: true, nlu: { log: false }});
...
Thanks! Didn't spot this in the docs, my fault :-)
Though I believe it should be switched-off by default.
Describe the bug The library seems to console.log during the execution - with no option to switch off the logs completely.
To Reproduce
Expected behavior The library should not log anything to console by default. There should be an option to set the global logging level to sth like 'none'.
Screenshots
Desktop (please complete the following information):
Additional context The logger docs (https://github.com/axa-group/nlp.js/blob/master/docs/v4/logger.md) do not contain information about how to switch off the logging.