Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-5786

LogLevel.getValue returns a completely useless number

    XMLWordPrintable

Details

    Description

      As is pointed out in https://issues.couchbase.com/browse/CBL-144, the number returned by LogLevel.getValue is not, as one might guess, the Android log level. In fact it is nothing that is useful in the API at all. Users should be warned against using it.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            blake.meike Blake Meike added a comment -

            I'm going to remove `getValue` altogether, in 3.0.  It is a mistake that it is visible.

            blake.meike Blake Meike added a comment - I'm going to remove `getValue` altogether, in 3.0.  It is a mistake that it is visible.
            blake.meike Blake Meike added a comment -

            Hah! It looks like it might be gone before the doc gets fixed! ;-P

            blake.meike Blake Meike added a comment - Hah! It looks like it might be gone before the doc gets fixed! ;-P
            Ian.bridge Ian Bridge added a comment -

            Blake Meike but will you backport it to 2.5? ;-P

            Ian.bridge Ian Bridge added a comment - Blake Meike  but will you backport it to 2.5? ;-P
            Ian.bridge Ian Bridge added a comment - - edited

            Will likely be resolved in codebase at 3.0.

            Backports of fix to 2.5 done. 

            Fix is incorporated in current update to logging topics for DOC-8034 2.8 (if needed)

            Ian.bridge Ian Bridge added a comment - - edited Will likely be resolved in codebase at 3.0. Backports of fix to 2.5 done.  Fix is incorporated in current update to logging topics for DOC-8034 2.8 (if needed)
            Ian.bridge Ian Bridge added a comment -

            2.8 change done as part of DOC-8034

             

            Ian.bridge Ian Bridge added a comment - 2.8 change done as part of DOC-8034  
            blake.meike Blake Meike added a comment -

            Ian Bridge: Can't change the API even for 2.8.4. That number has to stay visible until a major revision (3.x). Until then, we should document it as being useless...

            blake.meike Blake Meike added a comment - Ian Bridge : Can't change the API even for 2.8.4. That number has to stay visible until a major revision (3.x). Until then, we should document it as being useless...

            People

              Ian.bridge Ian Bridge
              blake.meike Blake Meike
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty