Skip to content

Remove console.log of geoPackageConnection #171

@emrivero

Description

@emrivero

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions