pub fn build(self) -> LogEmitterProvider {
        let mut config = self.config;
        config.resource = match config.resource {
            None => Some(Arc::new(self.sdk_provided_resource)),
            Some(resource) => {
                if resource.is_empty() {
                    None
                } else {
                    Some(Arc::new(self.sdk_provided_resource.merge(resource)))
                }
            }
        };

        LogEmitterProvider {
            inner: Arc::new(LogEmitterProviderInner {
                processors: self.processors,
                config,
            }),
        }
    }
/// Create a new provider from this configuration.
Create a new provider from this configuration.
Create a new provider from this configuration .
pub fn build(self) -> LogEmitterProvider {
        let mut config = self.config;
        config.resource = match config.resource {
            None => Some(Arc::new(self.sdk_provided_resource)),
            Some(resource) => {
                if resource.is_empty() {
                    None
                } else {
                    Some(Arc::new(self.sdk_provided_resource.merge(resource)))
                }
            }
        };
        LogEmitterProvider {
            inner: Arc::new(LogEmitterProviderInner {
                processors: self.processors,
                config,
            }),
        }
    }
pub fn build ( self ) -> LogEmitterProvider { let mut config = self . config ; config . resource = match config . resource { None => Some ( Arc :: new ( self . sdk_provided_resource ) ) , Some ( resource ) => { if resource . is_empty ( ) { None } else { Some ( Arc :: new ( self . sdk_provided_resource . merge ( resource ) ) ) } } } ; LogEmitterProvider { inner : Arc :: new ( LogEmitterProviderInner { processors : self . processors , config , } ) , } }
Create a new provider from this configuration.
Create a new provider from this configuration .
self
self