Sha256: 2dd5cb74a5e5d54c4d48b45405be2e1179631e82dd9182aa8efdcdc77711ae3c

Contents?: true

Size: 578 Bytes

Versions: 13

Compression:

Stored size: 578 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.

    Vedeu.configure do
      debug!
      # ...
    end

    Vedeu.configure do
      debug false
      # ...
    end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
vedeu-0.8.30 docs/configuration/debug.md
vedeu-0.8.29 docs/configuration/debug.md
vedeu-0.8.28 docs/configuration/debug.md
vedeu-0.8.27 docs/configuration/debug.md
vedeu-0.8.26 docs/configuration/debug.md
vedeu-0.8.25 docs/configuration/debug.md
vedeu-0.8.24 docs/configuration/debug.md
vedeu-0.8.23 docs/configuration/debug.md
vedeu-0.8.22 docs/configuration/debug.md
vedeu-0.8.21 docs/configuration/debug.md
vedeu-0.8.20 docs/configuration/debug.md
vedeu-0.8.19 docs/configuration/debug.md
vedeu-0.8.18 docs/configuration/debug.md