Add uc_log_destination_set_log_location, fix signed/unsigned use
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user