Sha256: 97b339885190c0de12aa05c5363006cd542c1ff4f83aff3931a4e50e4cc608fe

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 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?

Version data entries

1 entries across 1 versions & 1 rubygems

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