universe@390: universe@390: universe@390:
universe@390: universe@390: universe@390: universe@390: universe@390:universe@390: |
universe@390: ucx
universe@390:
universe@390: UAP Common Extensions
universe@390: |
universe@390:
The UCX Logger object. universe@390: More...
universe@390: universe@390:#include <logging.h>
universe@390: Data Fields | |
void * | stream |
The stream this logger writes its messages to. More... | |
write_func | writer |
The write function that shall be used. More... | |
char * | dateformat |
The date format for timestamp outputs including the delimiter (default: "%F %T %z " ). More... | |
unsigned int | level |
The level, this logger operates on. More... | |
unsigned int | mask |
A configuration mask for automatic output. More... | |
UcxMap * | levels |
A map of valid log levels for this logger. More... | |
The UCX Logger object.
universe@390:char* UcxLogger::dateformat | universe@390:
The date format for timestamp outputs including the delimiter (default: "%F %T %z "
).
unsigned int UcxLogger::level | universe@390:
The level, this logger operates on.
universe@390:If a log command is issued, the message will only be logged, if the log level of the message is less or equal than the log level of the logger.
universe@390: universe@390:UcxMap* UcxLogger::levels | universe@390:
A map of valid log levels for this logger.
universe@390:The keys represent all valid log levels and the values provide string representations, that are used, if the UCX_LOGGER_LEVEL flag is set.
universe@390:The exact data types are unsigned int
for the key and const char*
for the value.
unsigned int UcxLogger::mask | universe@390:
A configuration mask for automatic output.
universe@390:For each flag that is set, the logger automatically outputs some extra information like the timestamp or the source file and line number. See the documentation for the flags for details.
universe@390: universe@390:void* UcxLogger::stream | universe@390:
The stream this logger writes its messages to.
universe@390: universe@390:write_func UcxLogger::writer | universe@390:
The write function that shall be used.
universe@390:For standard file or stdout loggers this might be standard fwrite (default).
universe@390: universe@390: