class Hocon::Impl::ConfigImpl::DebugHolder

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.

Constants

TRACE_LOADS_ENABLED
TRACE_SUBSTITUTIONS_ENABLED

Public Class Methods

trace_loads_enabled() click to toggle source
# File lib/hocon/impl/config_impl.rb, line 166
def trace_loads_enabled
  TRACE_LOADS_ENABLED
end
trace_substitutions_enabled() click to toggle source
# File lib/hocon/impl/config_impl.rb, line 170
def trace_substitutions_enabled
  TRACE_SUBSTITUTIONS_ENABLED
end