Go to the source code of this file.
|
#define | MODULE "" |
|
#define | feLog(...) |
|
#define | feLogGroup(grp, ...) |
|
|
typedef Log * | fe::t_logptr |
|
|
void | fe::vsPrintf (std::string &target, const char *fmt, va_list ap, int &size) |
| Format text into a fe::String. More...
|
|
FE_DL_PUBLIC void | fe::intrusive_ptr_add_ref (Log *a_log) |
|
FE_DL_PUBLIC void | fe::intrusive_ptr_release (Log *a_log) |
|
FE_DL_PUBLIC void | feLogDirect (const char *format,...) |
|
FE_DL_PUBLIC void | feLogError (const char *format,...) |
|
◆ feLog
Value:{ \
std::stringstream out; \
out << __LINE__; \
std::map<std::string,std::string> attributes; \
attributes["file"] = __FILE__; \
attributes["line"] = out.str().c_str(); \
attributes["date"] = __DATE__; \
attributes["time"] = __TIME__; \
attributes["group"] = MODULE; \
feLogger()->log(MODULE, attributes, __VA_ARGS__); \
}
◆ feLogGroup
#define feLogGroup |
( |
|
grp, |
|
|
|
... |
|
) |
| |
Value:{ \
std::stringstream out; \
out << __LINE__; \
std::map<std::string,std::string> attributes; \
attributes["file"] = __FILE__; \
attributes["line"] = out.str().c_str(); \
attributes["date"] = __DATE__; \
attributes["time"] = __TIME__; \
attributes["group"] = grp; \
feLogger()->log(grp, attributes, __VA_ARGS__); \
}