new LogBase(params)
Creates a new instance of the LogBase class.
Parameters:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | The parameters for the log. Properties
|
- Source:
Methods
(abstract) emailNotify()
Sends email notifications about the log.
- Source:
(abstract) notify()
Notifies relevant parties about the log.
- Source:
toJSON() → {string}
Converts the log object to its JSON representation.
- Source:
Throws:
-
If there is an error during JSON stringification.
- Type
- Error
Returns:
- The JSON representation of the log object.
- Type
- string