From 1064671246e4169a87d800c9ed5c384c7de02e10 Mon Sep 17 00:00:00 2001 From: Hayri Bakici Date: Thu, 18 Jul 2024 15:28:10 +0200 Subject: [PATCH] Making `DefaultLogger` private --- lib/src/spotify_client.dart | 2 +- lib/src/spotify_logger.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/spotify_client.dart b/lib/src/spotify_client.dart index ddcb670..e6260e7 100644 --- a/lib/src/spotify_client.dart +++ b/lib/src/spotify_client.dart @@ -28,7 +28,7 @@ class SpotifyClient with http.BaseClient { late SpotifyLogger _logger; /// sets a custom logger - set logger(value) => _logger = value ?? DefaultLogger(); + set logger(value) => _logger = value ?? _DefaultLogger(); LoggingDetail _detail = LoggingDetail.simple; diff --git a/lib/src/spotify_logger.dart b/lib/src/spotify_logger.dart index 4b621d9..7536554 100644 --- a/lib/src/spotify_logger.dart +++ b/lib/src/spotify_logger.dart @@ -26,7 +26,7 @@ abstract class SpotifyLogger { } /// Default Logger, that emits when in debug mode -class DefaultLogger implements SpotifyLogger { +class _DefaultLogger implements SpotifyLogger { @override void d(String message, {DateTime? time, Object? error, StackTrace? stackTrace}) {