Method: Timber::Config#append_metadata?
- Defined in:
- lib/timber/config.rb
#append_metadata? ⇒ Boolean
This determines if the log messages should have metadata appended. Ex:
log {...}
By default, this is turned on for production and staging environments only. Other environment should set this setting explicitly.
118 119 120 121 122 123 124 |
# File 'lib/timber/config.rb', line 118 def if defined?() return == true end production? || staging? end |