Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41803

debugging() should default to DEBUG_DEVELOPER

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.6, 2.8.1
    • Fix Version/s: BACKEND
    • Component/s: Libraries

      Description

      It seems like I have to say to developers all the time to change their debugging() calls to use DEBUG_DEVELOPER. Almost all uses of it are only intended for development.

      I propose we change the default to DEBUG_DEVELOPER. Obviously we'd audit core code of course to switch levels and upgrade.txt notice etc.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              poltawski Dan Poltawski
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              8 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated: