#include <string.h>
#include <errno.h>
#include "../bson/util/builder.h"
Go to the source code of this file.
Classes | |
class | mongo::LazyString |
class | mongo::LazyStringImpl< T > |
struct | mongo::LogIndentLevel |
class | mongo::Logstream |
class | mongo::Nullstream |
class | mongo::Tee |
Namespaces | |
namespace | mongo |
Defines | |
#define | LOG MONGO_LOG |
#define | MONGO_LOG(level) if ( logLevel >= (level) ) log( level ) |
Enumerations | |
enum | mongo::LogLevel { mongo::LL_DEBUG, mongo::LL_INFO, mongo::LL_NOTICE, mongo::LL_WARNING, mongo::LL_ERROR, mongo::LL_SEVERE } |
Functions | |
Nullstream & | mongo::_log (int level=0) |
string | mongo::errnoWithDescription (int x=errno) |
string | mongo::errnoWithPrefix (const char *prefix) |
Nullstream & | mongo::error () |
void | mongo::initLogging (const string &logpath, bool append) |
Nullstream & | mongo::log () |
Nullstream & | mongo::log (LogLevel l) |
Nullstream & | mongo::log (int level) |
void | mongo::logflush (int level=0) |
const char * | mongo::logLevelToString (LogLevel l) |
Nullstream & | mongo::out (int level=0) |
Nullstream & | mongo::problem (int level=0) |
void | mongo::rotateLogs (int signal=0) |
Nullstream & | mongo::tlog (int level=0) |
std::string | mongo::toUtf8String (const std::wstring &wide) |
Nullstream & | mongo::warning () |
Variables | |
const char *(* | mongo::getcurns )() |
int | mongo::logLevel |
Nullstream | mongo::nullstream |