vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function MongoDatabase.getLog

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

Bson getLog (
  string mask
) @safe;

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

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 Sönke Ludwig

License

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