Method | Description | |
---|---|---|
__construct ( $size = 50 ) | Create a new ArrayLogger with a maximum of $size entries. | |
add ( string $entry ) | Add a log entry. | |
clear ( ) | Clear the log contents. | |
dump ( ) : string | Get this log as a string. |
public __construct ( $size = 50 ) |