Method MongoDatabase.getLog
Returns recent log messages for this database from the database server.
Prototype
Bson getLog( string mask );
Parameters
Name | Description |
---|---|
mask | "global" or "rs" or "startupWarnings". Refer to official MongoDB docs. |
Returns
Bson document with recent log messages from MongoDB service.
Authors
Sönke Ludwig
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.