From 379c72acfc281176e7f9eb4bb8189a5a7713c8f8 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Fri, 12 Jul 2024 07:35:39 -0700 Subject: [PATCH] Consolodate name docs --- log/provider.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log/provider.go b/log/provider.go index ae19e463d76..5c8ca328f87 100644 --- a/log/provider.go +++ b/log/provider.go @@ -24,13 +24,13 @@ type LoggerProvider interface { // commonly, this means a bridge will need to accept this value from its // users. // + // If name is empty, implementations need to provide a default name. + // // The version of the packages using a bridge can be critical information // to include when logging. The bridge should accept this version // information and use the [WithInstrumentationVersion] option to configure // the Logger appropriately. // - // If name is empty, implementations need to provide a default name. - // // Implementations of this method need to be safe for a user to call // concurrently. Logger(name string, options ...LoggerOption) Logger