| ENVISAT Product Reader API for C |
|
Functions | |
| int | epr_set_log_level (EPR_ELogLevel log_level) |
| Sets the log level for the ENVISAT API. | |
| void | epr_set_log_handler (EPR_FLogHandler log_handler) |
| Sets the log handler for the ENVISAT API. | |
| void | epr_log_message (EPR_ELogLevel log_level, const char *log_message) |
A default implementation for a logging function to be passed into the epr_init() function. | |
| int epr_set_log_level | ( | EPR_ELogLevel | log_level | ) |
Sets the log level for the ENVISAT API.
All logging messages with a log level lower than the given one, will be supressed, thus the log handler will not be called for such messages.
| log_level | the new log level. All logging messages with a log level lower than the given one, will be supressed |
| void epr_set_log_handler | ( | EPR_FLogHandler | log_handler | ) |
Sets the log handler for the ENVISAT API.
| log_handler | the log handler function pointer which will be used for logging, can be NULL, if logging shall be disabled |
| void epr_log_message | ( | EPR_ELogLevel | log_level, | |
| const char * | log_message | |||
| ) |
A default implementation for a logging function to be passed into the epr_init() function.
The function writes to stdout, the format is: log_level date time log_message.
| log_level | the log level | |
| log_message | the log message |
Generated on Mon Aug 2 15:24:00 2010
ENVISAT Product Reader C API
Written by
Brockmann Consult,
© 2002