Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove console.log of geoPackageConnection #171

Open
emrivero opened this issue Feb 10, 2021 · 1 comment
Open

Remove console.log of geoPackageConnection #171

emrivero opened this issue Feb 10, 2021 · 1 comment

Comments

@emrivero
Copy link

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.

@danielbarela
Copy link
Member

Pull requests are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants