MongoDatabase.getLog

Returns recent log messages for this database from the database server.

See http://www.mongodb.org/display/DOCS/getLog+Command.

struct MongoDatabase
@safe
Bson
getLog
(
string mask
)

Parameters

mask string

"global" or "rs" or "startupWarnings". Refer to official MongoDB docs.

Return Value

Type: Bson

Bson document with recent log messages from MongoDB service.

Meta