File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class SentryLogBatcher {
37
37
// Flush if size threshold is reached
38
38
if (_encodedLogsSize >= _maxBufferSizeBytes) {
39
39
// Buffer size exceeded, flush immediately
40
- _performCaptureLogs ();
40
+ _performFlushLogs ();
41
41
} else if (_flushTimer == null ) {
42
42
// Start timeout only when first item is added
43
43
_startTimer ();
@@ -53,7 +53,7 @@ class SentryLogBatcher {
53
53
54
54
/// Flushes the buffer immediately, sending all buffered logs.
55
55
void flush () {
56
- _performCaptureLogs ();
56
+ _performFlushLogs ();
57
57
}
58
58
59
59
void _startTimer () {
@@ -62,11 +62,11 @@ class SentryLogBatcher {
62
62
SentryLevel .debug,
63
63
'SentryLogBatcher: Timer fired, calling performCaptureLogs().' ,
64
64
);
65
- _performCaptureLogs ();
65
+ _performFlushLogs ();
66
66
});
67
67
}
68
68
69
- void _performCaptureLogs () {
69
+ void _performFlushLogs () {
70
70
// Reset timer state first
71
71
_flushTimer? .cancel ();
72
72
_flushTimer = null ;
You can’t perform that action at this time.
0 commit comments