diff -r 92e482410453 -r d345541018fa docs/api-2.1/structUcxLogger.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/api-2.1/structUcxLogger.html Sat Feb 06 19:11:44 2021 +0100 @@ -0,0 +1,213 @@ + + +
+ + + + ++ |
+ ucx
+
+ UAP Common Extensions
+ |
+
The UCX Logger object. + More...
+ +#include <logging.h>
+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.
+char* UcxLogger::dateformat | +
The date format for timestamp outputs including the delimiter (default: "%F %T %z "
).
unsigned int UcxLogger::level | +
The level, this logger operates on.
+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.
+ +UcxMap* UcxLogger::levels | +
A map of valid log levels for this logger.
+The keys represent all valid log levels and the values provide string representations, that are used, if the UCX_LOGGER_LEVEL flag is set.
+The exact data types are unsigned int
for the key and const char*
for the value.
unsigned int UcxLogger::mask | +
A configuration mask for automatic output.
+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.
+ +void* UcxLogger::stream | +
The stream this logger writes its messages to.
+ +write_func UcxLogger::writer | +
The write function that shall be used.
+For standard file or stdout loggers this might be standard fwrite (default).
+ +