MarkLogic Connect
MarkLogic Connect Client API Collection
Classes | Namespaces | Macros | Functions
logging.hpp File Reference

Defines implementation-independent logging functionality for mlcplusplus. More...

#include <mlclient/mlclient.hpp>
#include <ostream>
#include <sstream>
#include <string>
#include <glog/logging.h>

Go to the source code of this file.

Classes

struct  mlclient::LoggingConfiguration
 LoggingConfiguration to use. More...
 

Namespaces

 mlclient
 the namespace which wraps all Core Public C++ API classes.
 

Macros

#define LOG_DEBUG   COMPACT_GOOGLE_LOG_ ## INFO.stream()
 
#define LOG_INFO   COMPACT_GOOGLE_LOG_ ## INFO.stream()
 
#define LOG_ERROR   COMPACT_GOOGLE_LOG_ ## ERROR.stream()
 
#define LOG_WARN   COMPACT_GOOGLE_LOG_ ## WARN.stream()
 
#define LOG(lvl)   COMPACT_GOOGLE_LOG_ ## INFO.stream()
 
#define CLOG(lvl)   LOG(lvl)
 
#define TIMED_FUNC(id)
 
#define TIMED_SCOPE(id, scopename)
 
#define ENTRANCE_LOG(a, b, c, d)
 
#define DEBUG_ENTRANCE_LOG(a, b, c, d)
 

Functions

void mlclient::libraryLoggingInit ()
 
MLCLIENT_API void mlclient::reconfigureLogging (int argc, const char *argv[])
 Reconfigure logging from command line args. More...
 
MLCLIENT_API void mlclient::reconfigureLoggingSettings (const LoggingConfiguration &config)
 Reconfigures logging from a LoggingConfiguration struct. More...
 

Detailed Description

Defines implementation-independent logging functionality for mlcplusplus.

Date
2016-07-28
Author
Adam Fowler adam..nosp@m.fowl.nosp@m.er@ma.nosp@m.rklo.nosp@m.gic.c.nosp@m.om