Add uc_log_destination_set_log_location, fix signed/unsigned use

This commit is contained in:
Nils O. Selåsdal
2013-06-05 21:09:35 +02:00
parent 9125f6128a
commit f8116643af
2 changed files with 28 additions and 3 deletions
+7
View File
@@ -182,6 +182,13 @@ void uc_log_remove_destination(struct uc_log_destination *dest);
*/
void uc_log_destination_set_loglevel(struct uc_log_destination *dest, enum UC_LOG_LEVEL level);
/** Change whether to log the location (file/line no.) of logging
* output on a destination,
*
* @param dest log destination to change
* @param log_location 1=log the locaton, 0=don't log the location
*/
void uc_log_destination_set_log_location(struct uc_log_destination *dest, int log_location);
/** Remove and free a destination.
* This frees the memory allocated to the destination. For
* UC_LDEST_FILE the log file is closed.