geopackage-js icon indicating copy to clipboard operation
geopackage-js copied to clipboard

Remove console.log of geoPackageConnection

Open emrivero opened this issue 3 years ago • 1 comments

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.

emrivero avatar Feb 10 '21 12:02 emrivero

Pull requests are welcome.

danielbarela avatar Apr 13 '21 11:04 danielbarela