# LogEvents methods

## fillFromParameters( p ) <a href="#fillfromparameters" id="fillfromparameters"></a>

Overloads the [Items::fillFromParameters](https://cherrycake.tin.cat/reference/items/items-methods#fillfromparameters) method to provide an easy way to load [LogEvent](https://cherrycake.tin.cat/reference/core-classes/logevent) items when instantiating this class.

* **`p`** Specifications on how to fill the [LogEvents](https://cherrycake.tin.cat/reference/core-classes/logevents) object, with the possible keys below plus any other setup keys from [Items::fillFromParameters](https://cherrycake.tin.cat/reference/items/items-methods#fillfromparameters), or an array of [LogEvent](https://cherrycake.tin.cat/reference/core-classes/logevent) objects to fill the list with.
  * **`type`** The class name of the [LogEvent](https://cherrycake.tin.cat/reference/core-classes/logevent) objects to get.
  * **`fromTimestamp`** Get [LogEvent](https://cherrycake.tin.cat/reference/core-classes/logevent) items added starting on this timestamp.
  * **`toTimestamp`** Get [LogEvent](https://cherrycake.tin.cat/reference/core-classes/logevent) items added up to this timestamp.

**Returns:** `true` if everything went ok, `false` otherwise.
