Sha256: cc086520395887538b337d6324ed3f4950144536168219740d30aa32776f72dd

Contents?: true

Size: 580 Bytes

Versions: 1

Compression:

Stored size: 580 Bytes

Contents

Sets the location of the log file, or disables the log. By default,
the log file is set to '/tmp/vedeu_bootstrap.log'. Note: On Windows
systems, the log directory is determined by the output from
`Dir.tmpdir`.

    # Set:
    # Log messages will be sent to the path given.
    Vedeu.configure do
      log '/var/log/vedeu.log'
      # ...
    end

    # Log messages will be silently dropped.
    Vedeu.configure do
      log false
      # ...
    end

    # Get:
    Vedeu.config.log? # Returns whether logging is enabled
    Vedeu.config.log  # Returns the configured log file.

Version data entries

1 entries across 1 versions & 1 rubygems

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