0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions | Variables
Logger.cc File Reference

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>
Include dependency graph for Logger.cc:

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
 

Detailed Description

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.