Class: LogBase

LogBase(params)

new LogBase(params)

Creates a new instance of the LogBase class.

Parameters:
Name Type Description
params Object

The parameters for the log.

Properties
Name Type Description
status string

The status of the log.

type string

The type of the log (default is 'log').

name string

The name of the log.

message string

The message of the log.

resource string

The resource associated with the log.

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