Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-10845

Support a public API that allows applications to set up the error logging callback.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • feature-backlog
    • feature-backlog
    • forestdb
    • Security Level: Public
    • None
    • Untriaged
    • Unknown
    • June 30 - July 18

    Description

      For debugging and tracking any errors inside forestdb, we need to provide the new API for registering the error logging callback:

      fdb_status fdb_set_log(logCallbackFunc, void *pCtxData);

      logCallbackFunc passed by applications can be something like:

      void logCallbackFunc(int err_code, const char *err_msg, void *pCtxData)

      { fprintf(stderr, "error: %d, '%s'\n", err_code, err_msg); }

      pCtxData is used for passing any application-specific context data to the logging callback.

      Attachments

        For Gerrit Dashboard: MB-10845
        # Subject Branch Project Status CR V

        Activity

          People

            chiyoung Chiyoung Seo (Inactive)
            chiyoung Chiyoung Seo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty