logging#
- class trytond.tools.logging.format_args(args, kwargs[, verbose[, max_args[, max_items]]])#
If
verboseis False, the string representation of this class is a shortened version of the arguments taken fromargsand from the keyword arguments inkwargs. Otherwise, they are fully represented.max_argsis the maximum number of arguments shown before using an ellipse.max_itemsis the maximum number of items shown in each argument before using an ellipse.In the shortened version, strings and bytes are shortened.
The values of mapping using a sensitive name containing
password,tokenandsecretare always redacted.