Skip to content

Commit

Permalink
Making DefaultLogger private
Browse files Browse the repository at this point in the history
  • Loading branch information
hayribakici committed Jul 18, 2024
1 parent 398663e commit 1064671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/spotify_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion lib/src/spotify_logger.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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}) {
Expand Down

0 comments on commit 1064671

Please sign in to comment.