InMemoryLogger
Extends LoggerLogger class that keeps all entries in memory
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
__construct
Constructor.
__construct(mixed||string|int &options) :
since |
4.0.0 |
---|
Arguments
- options
array<string|int, mixed>
Log object options.
Response
mixed
addEntry
Method to add an entry to the log.
addEntry(\Joomla\CMS\Log\LogEntry entry) :
getCollectedEntries
Returns a list of collected entries.
getCollectedEntries() : mixed||string|int
since |
4.0.0 |
---|
Response
array<string|int, mixed>
Properties
options
Options array for the Log instance.
inherited
since |
3.0.1 |
---|
Type(s)
array<string|int, mixed>
priorities
Translation array for LogEntry priorities to text strings.
inherited
since |
3.0.1 |
---|
Type(s)
array<string|int, mixed>
logEntries
List of collected log entries, grouped by $group
static
since |
4.0.0 |
---|
Type(s)
array<string|int, mixed>
group
Group name to store the entries
since |
4.0.0 |
---|
Type(s)
string