MongoDatabase.getLog
Bson getLog(string mask)Returns recent log messages for this database from the database server.
See http://www.mongodb.org/display/DOCS/getLog+Command.
Parameters
mask | "global" or "rs" or "startupWarnings". Refer to official MongoDB docs. |
Returns
Bson document with recent log messages from MongoDB service.