[sr-dev] git:master:071556e9: log_custom: use buffer size for printing functions