Sha256: bc7d13b71373717c589913ab68738dff9277334c17ef01fcd32c88878236554f

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

Sets boolean to enable/disable debugging. Vedeu's default setting is
for debugging to be disabled. Using `debug!` or setting `debug` to
true will enable debugging.

Enabling debugging will:
- Log when an event is triggered which has no action registered.
- Enable `Vedeu::Logging::Timer` meaning various timing information is
  output to the log file.
- Produce a full a backtrace to STDOUT and the log file upon
  unrecoverable error or unhandled exception.

    # Set:
    Vedeu.configure do
      debug!
      # ...
    end

    Vedeu.configure do
      debug false
      # ...
    end

    # Get:
    Vedeu.config.debug?
    Vedeu.config.debug

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.8.32 docs/configuration/debug.md