Skip to content

Commit b3cdf53

Browse files
committed
rename internal m
1 parent 425f782 commit b3cdf53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/dart/lib/src/sentry_log_batcher.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class SentryLogBatcher {
3737
// Flush if size threshold is reached
3838
if (_encodedLogsSize >= _maxBufferSizeBytes) {
3939
// Buffer size exceeded, flush immediately
40-
_performCaptureLogs();
40+
_performFlushLogs();
4141
} else if (_flushTimer == null) {
4242
// Start timeout only when first item is added
4343
_startTimer();
@@ -53,7 +53,7 @@ class SentryLogBatcher {
5353

5454
/// Flushes the buffer immediately, sending all buffered logs.
5555
void flush() {
56-
_performCaptureLogs();
56+
_performFlushLogs();
5757
}
5858

5959
void _startTimer() {
@@ -62,11 +62,11 @@ class SentryLogBatcher {
6262
SentryLevel.debug,
6363
'SentryLogBatcher: Timer fired, calling performCaptureLogs().',
6464
);
65-
_performCaptureLogs();
65+
_performFlushLogs();
6666
});
6767
}
6868

69-
void _performCaptureLogs() {
69+
void _performFlushLogs() {
7070
// Reset timer state first
7171
_flushTimer?.cancel();
7272
_flushTimer = null;

0 commit comments

Comments
 (0)