vibe.d beta banner
get vibe.d
0.7.30

Function MongoDatabase.getLog

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

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

Prototype

Bson getLog(
  string mask
);

Parameters

NameDescription
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-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.