日志流类,用于格式化日志输出 More...
#include <slog.h>
Public Member Functions | |
SLogStream (char *buf, int len) | |
构造函数 | |
SLogStream & | operator<< (const void *t) |
重载运算符<<,用于输出各种类型的数据 | |
SLogStream & | operator<< (const char *t) |
SLogStream & | operator<< (const wchar_t *t) |
SLogStream & | operator<< (bool t) |
SLogStream & | operator<< (char t) |
SLogStream & | operator<< (wchar_t t) |
SLogStream & | operator<< (unsigned char t) |
SLogStream & | operator<< (short t) |
SLogStream & | operator<< (unsigned short t) |
SLogStream & | operator<< (int t) |
SLogStream & | operator<< (unsigned int t) |
SLogStream & | operator<< (long t) |
SLogStream & | operator<< (unsigned long t) |
SLogStream & | operator<< (long long t) |
SLogStream & | operator<< (unsigned long long t) |
SLogStream & | operator<< (float t) |
SLogStream & | operator<< (double t) |
SLogStream & | operator<< (const SLogBinary &binary) |
SLogStream & | writeFormat (const char *format,...) |
格式化输出日志 | |
SLogStream & | writeFormat (const wchar_t *format,...) |
SLogStream::SLogStream | ( | char * | buf, |
int | len ) |
SLogStream & SLogStream::operator<< | ( | bool | t | ) |
SLogStream & SLogStream::operator<< | ( | char | t | ) |
SLogStream & SLogStream::operator<< | ( | const char * | t | ) |
SLogStream & SLogStream::operator<< | ( | const SLogBinary & | binary | ) |
SLogStream & SLogStream::operator<< | ( | const void * | t | ) |
SLogStream & SLogStream::operator<< | ( | const wchar_t * | t | ) |
SLogStream & SLogStream::operator<< | ( | double | t | ) |
SLogStream & SLogStream::operator<< | ( | float | t | ) |
SLogStream & SLogStream::operator<< | ( | int | t | ) |
SLogStream & SLogStream::operator<< | ( | long long | t | ) |
SLogStream & SLogStream::operator<< | ( | long | t | ) |
SLogStream & SLogStream::operator<< | ( | short | t | ) |
SLogStream & SLogStream::operator<< | ( | unsigned char | t | ) |
SLogStream & SLogStream::operator<< | ( | unsigned int | t | ) |
SLogStream & SLogStream::operator<< | ( | unsigned long long | t | ) |
SLogStream & SLogStream::operator<< | ( | unsigned long | t | ) |
SLogStream & SLogStream::operator<< | ( | unsigned short | t | ) |
SLogStream & SLogStream::operator<< | ( | wchar_t | t | ) |
SLogStream & SLogStream::writeFormat | ( | const char * | format, |
... ) |
SLogStream & SLogStream::writeFormat | ( | const wchar_t * | format, |
... ) |