Beispiel #1
0
        private ILogBuilder MergeDefaults(ILogBuilder builder)
        {
            // copy logger name
            if (!String.IsNullOrEmpty(Name))
            {
                builder.Logger(Name);
            }

            // copy properties to current builder
            if (_properties.IsValueCreated)
            {
                _properties.Value.Apply(builder);
            }

            return(builder);
        }