We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a92b1 commit 3febd51Copy full SHA for 3febd51
lib/src/outputs/memory_output.dart
@@ -5,8 +5,13 @@ import 'package:logger/src/log_output.dart';
5
6
/// Buffers [OutputEvent]s.
7
class MemoryOutput extends LogOutput {
8
+ /// Maximum events in [buffer].
9
final int bufferSize;
10
+
11
+ /// A secondary [LogOutput] to also received events.
12
final LogOutput secondOutput;
13
14
+ /// The buffer of events.
15
final ListQueue<OutputEvent> buffer;
16
17
MemoryOutput({this.bufferSize = 20, this.secondOutput})
0 commit comments