lucaong / minisearch

Tiny and powerful JavaScript full-text search engine for browser and Node
https://lucaong.github.io/minisearch/
MIT License
4.81k stars 137 forks source link

Add logger option to specify a custom logger #182

Closed lucaong closed 1 year ago

lucaong commented 1 year ago

Resolves #176

This is useful for cases where console is not defined, or to handle specific log or warn messages (e.g. the warnings of document version conflicts upon calling remove with a modified document).