GCC Middle and Back End API Reference
|
#include <analyzer-logging.h>
Public Member Functions | |
logger (FILE *f_out, int flags, int verbosity, const pretty_printer &reference_pp) | |
~logger () | |
void | incref (const char *reason) |
void | decref (const char *reason) |
void | log (const char *fmt,...) ATTRIBUTE_GCC_DIAG(2 |
void void | log_va (const char *fmt, va_list *ap) ATTRIBUTE_GCC_DIAG(2 |
void void void | start_log_line () |
void | log_partial (const char *fmt,...) ATTRIBUTE_GCC_DIAG(2 |
void void | log_va_partial (const char *fmt, va_list *ap) ATTRIBUTE_GCC_DIAG(2 |
void void void | end_log_line () |
void | enter_scope (const char *scope_name) |
void | enter_scope (const char *scope_name, const char *fmt, va_list *ap) ATTRIBUTE_GCC_DIAG(3 |
void void | exit_scope (const char *scope_name) |
void | inc_indent () |
void | dec_indent () |
pretty_printer * | get_printer () const |
FILE * | get_file () const |
Private Member Functions | |
DISABLE_COPY_AND_ASSIGN (logger) | |
Private Attributes | |
int | m_refcount |
FILE * | m_f_out |
int | m_indent_level |
bool | m_log_refcount_changes |
pretty_printer * | m_pp |
A logger encapsulates a logging stream: a way to send lines of pertinent information to a FILE *.
ana::logger::logger | ( | FILE * | f_out, |
int | flags, | ||
int | verbosity, | ||
const pretty_printer & | reference_pp ) |
ana::logger::~logger | ( | ) |
|
inline |
References m_indent_level.
Referenced by ana::log_scope::~log_scope().
|
private |
Referenced by ana::log_user::end_log_line(), and infinite_loop::infinite_loop().
Referenced by ana::log_user::enter_scope(), ana::log_scope::log_scope(), and ana::log_scope::log_scope().
Referenced by ana::log_user::exit_scope(), and ana::log_scope::~log_scope().
|
inline |
References m_f_out.
Referenced by ana::log_user::get_logger_file().
|
inline |
References m_pp.
Referenced by ana::log_user::get_logger_pp(), and infinite_loop::infinite_loop().
|
inline |
References m_indent_level.
Referenced by ana::log_scope::log_scope(), and ana::log_scope::log_scope().
Referenced by infinite_loop::infinite_loop().
Referenced by ana::log_user::log().
Referenced by infinite_loop::infinite_loop(), and ana::log_user::start_log_line().
|
private |
Referenced by get_file().
|
private |
Referenced by dec_indent(), and inc_indent().
|
private |
|
private |
Referenced by get_printer().
|
private |