Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove logger from ctor
  • Loading branch information
marandaneto committed Oct 20, 2020
commit 490c73513dddd1db1dfd3f8eb5322b7f255fe63c
6 changes: 2 additions & 4 deletions dart/lib/src/sentry_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class SentryOptions {
/// If [compressPayload] is `true` the outgoing HTTP payloads are compressed
/// using gzip. Otherwise, the payloads are sent in plain UTF8-encoded JSON
/// text. If not specified, the compression is enabled by default.
bool compressPayload;
bool compressPayload = false;

/// If [httpClient] is provided, it is used instead of the default client to
/// make HTTP calls to Sentry.io. This is useful in tests.
Expand Down Expand Up @@ -145,9 +145,7 @@ class SentryOptions {
this.httpClient,
this.clock,
this.uuidGenerator,
Logger logger,
this.maxBreadcrumbs = 100,
}) : _logger = logger;
});

/// Adds an event processor
void addEventProcessor(EventProcessor eventProcessor) {
Expand Down