Function MongoDatabase.getLog
Returns recent log messages for this database from the database server.
Parameters
Name | Description |
---|---|
mask | "global" or "rs" or "startupWarnings". Refer to official MongoDB docs. |
Returns
Bson document with recent log messages from MongoDB service.