taco-db
0.1.0
|
#include "base/logging.h"
Namespaces | |
taco | |
Functions | |
void | taco::LogError (LogSeverity severity, std::string &&msg) |
Logs a message (which may not be an error despite what the name suggests). More... | |
void | taco::SetLogOutput (std::ostream *log_out) |
Sets the output stream where the log messages should be printed to. More... | |
void | taco::RestoreLogOutput () |
Restores the log output stream to std::cerr. More... | |
void | taco::SetLogPrintMinSeverity (LogSeverity min_severity) |
Sets the minimum severity level of a log message to be printed. More... | |
void | taco::DisableLogPrint () |
Disable all log message printing. More... | |
void | taco::SetSecondaryLogOutput (std::ostream *log_out, LogSeverity min_severity) |
Sets the secondary output stream where logs messages additionally prints with at least the specified severity. More... | |
void | taco::ClearSecondaryLogOutput () |
Clears the secondary output stream where logs messages additionally prints. More... | |
Variables | |
static int | taco::g_min_log_severity = (int) kInfo |
The minimum log severity that we'll print it to stderr. More... | |
static std::ostream * | taco::g_log_out = &std::cerr |
The output stream the log prints to. More... | |
static std::ostream * | taco::g_secondary_log_out = nullptr |
The secondary output stream the log additionally prints to. More... | |
static int | taco::g_secondary_min_log_severity = ((int) kFatal) + 1 |
The minimum log severity that we'll additionally print to the secondary outptu stream. More... | |