@@ -378,7 +378,7 @@ where
378378 /// Creates a bridge using the default OpenTelemetry logger scope.
379379 ///
380380 /// The default scope uses an empty scope name for the appender logger.
381- /// Use [`Self::builder_with_scope `] to provide a
381+ /// Use [`Self::builder_with_scope_attributes `] to provide a
382382 /// custom [`InstrumentationScope`].
383383 pub fn new ( provider : & P ) -> Self {
384384 Self :: builder ( provider) . build ( )
@@ -401,7 +401,7 @@ where
401401
402402 /// Creates a builder that uses a custom OpenTelemetry [`InstrumentationScope`]
403403 /// for the appender logger.
404- pub fn builder_with_scope (
404+ pub fn builder_with_scope_attributes (
405405 provider : & P ,
406406 scope : InstrumentationScope ,
407407 ) -> OpenTelemetryTracingBridgeBuilder < P , L > {
@@ -952,8 +952,11 @@ mod tests {
952952 . with_attributes ( [ KeyValue :: new ( "scope-key" , "scope-value" ) ] )
953953 . build ( ) ;
954954 let subscriber = tracing_subscriber:: registry ( ) . with (
955- layer:: OpenTelemetryTracingBridge :: builder_with_scope ( & logger_provider, scope. clone ( ) )
956- . build ( ) ,
955+ layer:: OpenTelemetryTracingBridge :: builder_with_scope_attributes (
956+ & logger_provider,
957+ scope. clone ( ) ,
958+ )
959+ . build ( ) ,
957960 ) ;
958961
959962 let _guard = tracing:: subscriber:: set_default ( subscriber) ;
0 commit comments