Skip to content

Commit 8117c98

Browse files
authored
chore(logging): add 'none' case to FlushStrategy (#4273)
1 parent 4d2eb6e commit 8117c98

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

AmplifyClients/AmplifyCloudWatchClient/Sources/Domain/FlushStrategy.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ import Foundation
1212
public enum FlushStrategy: Sendable {
1313
/// Automatically flush at a regular interval. Default is 60 seconds.
1414
case interval(TimeInterval = 60)
15+
/// Disable automatic flushing. Log events are only sent when flushLogs() is called manually.
16+
case none
1517
}

0 commit comments

Comments
 (0)