summaryrefslogtreecommitdiffstats
path: root/src/log.h
AgeCommit message (Collapse)AuthorFilesLines
2025-07-01Update codebase to use (const) void* and size_t where applicableGravatar Nikias Bassen1-1/+1
2025-06-27Improve type safety of new logging system and its handling of varargsGravatar Visual Ehrmanntraut1-2/+4
- Replaced loglevel arguments and globals using the `int` type with the `loglevel` enum. - Moved logging print func handler function declaration to typedef. - Fixed misuse of `print_func` where a char* was passed in place of `va_list` via a wrapper function `print_funcf`. - Fixed reuse of varargs in `logger` causing a segfault when `stderr_enabled` is true. - Fixed length in `snprintf` call inside `logger_hex_dump` truncating the printed text.
2025-06-23Refactor logging and add logfile supportGravatar Nikias Bassen1-0/+41
idevicerestore will now also create a logfile automatically, unless disabled with --logfile=NONE.