Class: Hocon::Impl::ConfigImpl::DebugHolder
- Inherits:
-
Object
- Object
- Hocon::Impl::ConfigImpl::DebugHolder
- Defined in:
- lib/hocon/impl/config_impl.rb
Overview
This class is a lot simpler than the Java version … The Java version uses system properties to toggle these settings. We don’t have system properties in MRI so it’s not clear what to do here. Initially, I ported this as more of a direct translation from the Java code, but I ran into issues around how to translate stupid Java static initialization crap to Ruby, so what we have here is a much simpler version that is # equivalent.
There’s no way to toggle this logging without changing code, but it’s actually proved to be useful for debugging purposes while porting code down from Java.
Class Method Summary collapse
Class Method Details
.trace_loads_enabled ⇒ Object
166 167 168 |
# File 'lib/hocon/impl/config_impl.rb', line 166 def trace_loads_enabled TRACE_LOADS_ENABLED end |
.trace_substitutions_enabled ⇒ Object
170 171 172 |
# File 'lib/hocon/impl/config_impl.rb', line 170 def trace_substitutions_enabled TRACE_SUBSTITUTIONS_ENABLED end |