Loading lib/labkit/logging/field_validator/log_interceptor.rb +3 −3 Original line number Diff line number Diff line Loading @@ -60,8 +60,8 @@ module Labkit # The context prefix that Labkit::Context applies to every field it # stores (see Labkit::Context::LOG_KEY). Any deprecated field with # this prefix is by convention a context field — owned by whichever # provider populates the context (e.g. ApplicationContext) — even # this prefix is by convention a context field, owned by whichever # provider populates the context (e.g. ApplicationContext), even # when a particular log call happens to pass it directly. Lazily # built so the constant is not referenced at load time. def context_field_prefix Loading Loading @@ -94,7 +94,7 @@ module Labkit standard_field = deprecated_lookup[key_str] next unless standard_field # context_prefix is the Labkit::Context namespace — the field is conceptually # context_prefix is the Labkit::Context namespace. The field is conceptually # context-owned even if the caller happens to pass it directly. Otherwise # use direct-vs-context based on whether the caller actually included it. if direct_keys.include?(key_str) && !key_str.start_with?(context_prefix) Loading Loading
lib/labkit/logging/field_validator/log_interceptor.rb +3 −3 Original line number Diff line number Diff line Loading @@ -60,8 +60,8 @@ module Labkit # The context prefix that Labkit::Context applies to every field it # stores (see Labkit::Context::LOG_KEY). Any deprecated field with # this prefix is by convention a context field — owned by whichever # provider populates the context (e.g. ApplicationContext) — even # this prefix is by convention a context field, owned by whichever # provider populates the context (e.g. ApplicationContext), even # when a particular log call happens to pass it directly. Lazily # built so the constant is not referenced at load time. def context_field_prefix Loading Loading @@ -94,7 +94,7 @@ module Labkit standard_field = deprecated_lookup[key_str] next unless standard_field # context_prefix is the Labkit::Context namespace — the field is conceptually # context_prefix is the Labkit::Context namespace. The field is conceptually # context-owned even if the caller happens to pass it directly. Otherwise # use direct-vs-context based on whether the caller actually included it. if direct_keys.include?(key_str) && !key_str.start_with?(context_prefix) Loading