#include "log_internal.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 "filesys.h"#include <unistd.h>#include <sstream>#include <iostream>#include <algorithm>#include <cstring>
Include dependency graph for log.cpp:Classes | |
| class | LevelTarget |
Functions | |
| thread_local LogStream | dstream (none_target) |
| thread_local LogStream | rawstream (none_target_raw) |
| thread_local LogStream | errorstream (error_target) |
| thread_local LogStream | warningstream (warning_target) |
| thread_local LogStream | actionstream (action_target) |
| thread_local LogStream | infostream (info_target) |
| thread_local LogStream | verbosestream (verbose_target) |
| thread_local LogStream | tracestream (trace_target) |
| thread_local LogStream | derr_con (verbose_target) |
| thread_local LogStream | dout_con (trace_target) |
Variables | |
| Logger | g_logger |
| StreamLogOutput | stdout_output (std::cout) |
| StreamLogOutput | stderr_output (std::cerr) |
| LevelTarget | none_target_raw (g_logger, LL_NONE, true) |
| LevelTarget | none_target (g_logger, LL_NONE) |
| LevelTarget | error_target (g_logger, LL_ERROR) |
| LevelTarget | warning_target (g_logger, LL_WARNING) |
| LevelTarget | action_target (g_logger, LL_ACTION) |
| LevelTarget | info_target (g_logger, LL_INFO) |
| LevelTarget | verbose_target (g_logger, LL_VERBOSE) |
| LevelTarget | trace_target (g_logger, LL_TRACE) |
| thread_local LogStream actionstream | ( | action_target | ) |
| thread_local LogStream derr_con | ( | verbose_target | ) |
| thread_local LogStream dout_con | ( | trace_target | ) |
| thread_local LogStream dstream | ( | none_target | ) |
| thread_local LogStream errorstream | ( | error_target | ) |
| thread_local LogStream infostream | ( | info_target | ) |
| thread_local LogStream rawstream | ( | none_target_raw | ) |
| thread_local LogStream tracestream | ( | trace_target | ) |
| thread_local LogStream verbosestream | ( | verbose_target | ) |
| thread_local LogStream warningstream | ( | warning_target | ) |
| LevelTarget action_target(g_logger, LL_ACTION) | ( | g_logger | , |
| LL_ACTION | ) |
| LevelTarget error_target(g_logger, LL_ERROR) | ( | g_logger | , |
| LL_ERROR | ) |
| Logger g_logger |
| LevelTarget info_target(g_logger, LL_INFO) | ( | g_logger | , |
| LL_INFO | ) |
| LevelTarget none_target(g_logger, LL_NONE) | ( | g_logger | , |
| LL_NONE | ) |
| LevelTarget none_target_raw(g_logger, LL_NONE, true) | ( | g_logger | , |
| LL_NONE | , | ||
| true | ) |
| StreamLogOutput stderr_output(std::cerr) | ( | std::cerr | ) |
Referenced by main(), and setup_log_params().
| StreamLogOutput stdout_output(std::cout) | ( | std::cout | ) |
| LevelTarget trace_target(g_logger, LL_TRACE) | ( | g_logger | , |
| LL_TRACE | ) |
| LevelTarget verbose_target(g_logger, LL_VERBOSE) | ( | g_logger | , |
| LL_VERBOSE | ) |
| LevelTarget warning_target(g_logger, LL_WARNING) | ( | g_logger | , |
| LL_WARNING | ) |