Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
hayribakici committed Jul 7, 2024
1 parent 72cdf20 commit 7b0200d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/src/spotify_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ abstract class SpotifyApiBase {

/// [enable]s logging of the requests and responses on the debug console.
/// [loggingDetail] controls the logging verbosity. Default's set
/// to [LoggingDetail.simple].
/// to [LoggingDetail.simple].
/// Use own [logger] is also possible for e.g. saving logs into a file etc.
void enableLogging(bool enable,
{LoggingDetail loggingDetail = LoggingDetail.simple, Logger? logger}) {
Expand Down
6 changes: 3 additions & 3 deletions lib/src/spotify_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class SpotifyClient with http.BaseClient {
late Logger _logger;

bool _enableLogging = false;
void enableLogging(bool enable, {Logger? logger}){
_enableLogging = enable;
_logger = logger ?? Logger();
void enableLogging(bool enable, {Logger? logger}) {
_enableLogging = enable;
_logger = logger ?? Logger();
}

LoggingDetail _detail = LoggingDetail.full;
Expand Down

0 comments on commit 7b0200d

Please sign in to comment.