#include "utilities.h"
#include <stdarg.h>
#include <cstdio>
#include <cerrno>
#include <fcntl.h>
#include <ctime>
#include "config.h"
#include <glog/logging.h>
#include <glog/raw_logging.h>
#include "base/commandlineflags.h"
Go to the source code of this file.
|
| static bool | DoRawLog (char **buf, size_t *size, const char *format,...) |
| |
| void | RawLog__ (LogSeverity severity, const char *file, int line, const char *format,...) |
| |
| static bool | VADoRawLog (char **buf, size_t *size, const char *format, va_list ap) |
| |
◆ GLOG_ATTRIBUTE_FORMAT
| #define GLOG_ATTRIBUTE_FORMAT |
( |
|
archetype, |
|
|
|
stringIndex, |
|
|
|
firstToCheck |
|
) |
| |
◆ GLOG_ATTRIBUTE_FORMAT_ARG
| #define GLOG_ATTRIBUTE_FORMAT_ARG |
( |
|
stringIndex | ) |
|
◆ safe_write
| #define safe_write |
( |
|
fd, |
|
|
|
s, |
|
|
|
len |
|
) |
| write(fd, s, len) |
◆ DoRawLog()
| static bool DoRawLog |
( |
char ** |
buf, |
|
|
size_t * |
size, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
|
static |
◆ RawLog__()
| void RawLog__ |
( |
LogSeverity |
severity, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
◆ VADoRawLog()
| static bool VADoRawLog |
( |
char ** |
buf, |
|
|
size_t * |
size, |
|
|
const char * |
format, |
|
|
va_list |
ap |
|
) |
| |
|
inlinestatic |
◆ crash_buf
◆ crash_reason
◆ crashed
◆ kLogBufSize
| const int kLogBufSize = 3000 |
|
static |