#include "log.h"
#include "threading/mutex_auto_lock.h"
#include "debug.h"
#include "gettime.h"
#include "porting.h"
#include "settings.h"
#include "config.h"
#include "exceptions.h"
#include "util/numeric.h"
#include <sstream>
#include <iostream>
#include <algorithm>
#include <cerrno>
#include <cstring>
Classes | |
class | StringBuffer |
class | LogBuffer |
class | RawLogBuffer |
Functions | |
std::ostream | null_stream (NULL) |
Variables | |
const int | BUFFER_LENGTH = 256 |
Logger | g_logger |
StreamLogOutput | stdout_output (std::cout) |
StreamLogOutput | stderr_output (std::cerr) |
RawLogBuffer | raw_buf |
LogBuffer | none_buf (g_logger, LL_NONE) |
LogBuffer | error_buf (g_logger, LL_ERROR) |
LogBuffer | warning_buf (g_logger, LL_WARNING) |
LogBuffer | action_buf (g_logger, LL_ACTION) |
LogBuffer | info_buf (g_logger, LL_INFO) |
LogBuffer | verbose_buf (g_logger, LL_VERBOSE) |
std::ostream * | dout_con_ptr = &null_stream |
std::ostream * | derr_con_ptr = &verbosestream |
std::ostream null_stream | ( | NULL | ) |
std::ostream actionstream & action_buf | ( | g_logger | , |
LL_ACTION | |||
) |
const int BUFFER_LENGTH = 256 |
Referenced by StringBuffer::push_back().
std::ostream* derr_con_ptr = &verbosestream |
std::ostream* dout_con_ptr = &null_stream |
Referenced by setup_log_params().
std::ostream errorstream & error_buf | ( | g_logger | , |
LL_ERROR | |||
) |
Logger g_logger |
std::ostream infostream & info_buf | ( | g_logger | , |
LL_INFO | |||
) |
std::ostream rawstream & raw_buf |
StreamLogOutput stderr_output(std::cerr) | ( | std::cerr | ) |
Referenced by main(), and setup_log_params().
StreamLogOutput stdout_output(std::cout) | ( | std::cout | ) |
std::ostream verbosestream & verbose_buf | ( | g_logger | , |
LL_VERBOSE | |||
) |
std::ostream warningstream & warning_buf | ( | g_logger | , |
LL_WARNING | |||
) |