Skip to content

sqlite error log? #109

@bstarynk

Description

@bstarynk

It would be nice to be able to interface with sqlite3_config for error logging with SQLITE_CONFIG_LOG.

Perhaps we would want to be able to code

sqlite::error_log([&](int errcode, const char*msg) {
  std::clog<<"SQLITE ERROR " << errcode << ":" << msg << std:endl;
});

What do you think?

I might provide a small patch if we agree on that API.

Thanks.

Basile Starynkevitch : basile at starynkevitch dot net
(France)

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