Constructor
new MongoDBLoggerModule()
Extends
- AbstractApiModule
Members
logInternalErrors :Boolean
- Description:
- Whether internal errors should be logged
- Source:
Whether internal errors should be logged
Type:
- Boolean
Methods
(async) init()
(async) logToDb(date, level, module, …data)
- Description:
- Logs a message to the database
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
date |
Date | When the data was logged | |
level |
String | Severity of the message | |
module |
String | Name of the module logging the message | |
data |
* |
<repeatable> |
Other arguments to be logged |