Skip to content

Commit 3febd51

Browse files
committed
Add docs to MemoryOutput
Again thanks to @gmpassos.
1 parent a3a92b1 commit 3febd51

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/outputs/memory_output.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@ import 'package:logger/src/log_output.dart';
55

66
/// Buffers [OutputEvent]s.
77
class MemoryOutput extends LogOutput {
8+
/// Maximum events in [buffer].
89
final int bufferSize;
10+
11+
/// A secondary [LogOutput] to also received events.
912
final LogOutput secondOutput;
13+
14+
/// The buffer of events.
1015
final ListQueue<OutputEvent> buffer;
1116

1217
MemoryOutput({this.bufferSize = 20, this.secondOutput})

0 commit comments

Comments
 (0)