geopackage-js
geopackage-js copied to clipboard
Remove console.log of geoPackageConnection
Is there any possibility to parameterize the console.log option of these lines so that it does not appear?
https://github.com/ngageoint/geopackage-js/blob/bfabe794f1dd6dbeac9d23def0051d5a35d00d34/lib/db/geoPackageConnection.ts#L10,L14
if (typeof process !== 'undefined' && process.version && !process.env.FORCE_SQLJS) {
console.log('Better SQLite');
} else {
console.log('SQL.js');
}
If it is not developed, I could do it and do a PR.
Something like options.silent in constructor of GeoPackageConnection.
Pull requests are welcome.