# Block-level enable and disable cue logging

``

    with_cue_logging  true_or_false (boolean)

Similar to use_cue_logging except only applies to code within supplied `do`/`end` block. Previous cue log value is restored after block.

Introduced in v2.6

## Example

# Example 1
``
      use_cue_logging true

      cue :foo

      with_cue_logging false do

        cue :bar
      end
      sleep 1

      cue :quux
| ``
    # Turn on debugging:

    # cue message is printed to log

    #Cue logging is now disabled
    # cue *is* sent but not displayed in log

    # Debug is re-enabled
    # cue is displayed in log