Logging routines and macros. More...
#include <Common/Compat.h>
#include "String.h"
#include "Logger.h"
#include <iostream>
#include <stdio.h>
#include <stdarg.h>
#include <mutex>
Go to the source code of this file.
Namespaces | |
Hypertable | |
Hypertable definitions | |
Hypertable::Logger | |
Logging framework. | |
Functions | |
void | Hypertable::Logger::initialize (const String &name) |
Public initialization function - creates a singleton instance of LogWriter. More... | |
LogWriter * | Hypertable::Logger::get () |
Accessor for the LogWriter singleton instance. More... | |
Variables | |
static String | Hypertable::Logger::logger_name |
static LogWriter * | Hypertable::Logger::logger_obj = 0 |
static std::mutex | Hypertable::Logger::mutex |
Logging routines and macros.
The LogWriter provides facilities to write debug, log, error- and other messages to stdout. The Logging namespaces provides std::ostream- and printf-like macros and convenience functions.
Definition in file Logger.cc.