From 8f6abb60f852fa4d6b3ddb0fff8fbb1e38ff0113 Mon Sep 17 00:00:00 2001 From: Mike Fridman Date: Sat, 19 Oct 2024 17:10:32 -0400 Subject: [PATCH] update comment --- provider_options.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/provider_options.go b/provider_options.go index 400b810e8..7d538493d 100644 --- a/provider_options.go +++ b/provider_options.go @@ -165,9 +165,7 @@ func WithDisableVersioning(b bool) ProviderOption { }) } -// WithLogger set the logger, same behavior as with goose.SetLogger(logger) -// Using Provider would block the ability to override the logger, which could become painful to have a proper -// structured logging. By Default, this won't override the default logger. +// WithLogger will set a custom Logger, which will override the default logger. func WithLogger(l Logger) ProviderOption { return configFunc(func(c *config) error { c.logger = l @@ -195,9 +193,6 @@ type config struct { allowMissing bool disableGlobalRegistry bool - // Let's not expose the Logger just yet. Ideally we consolidate on the std lib slog package - // added in go1.21 and then expose that (if that's even necessary). For now, just use the std - // lib log package. logger Logger }