diff options
author | Jay Nelson <[email protected]> | 2010-01-27 16:15:23 -0800 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-02-14 12:27:24 +0100 |
commit | 109a257dc42f5212af1811b9a43af0bca7cba7a9 (patch) | |
tree | 1c233bee0fa9c4cf6735d3abb3277e6528b4aa13 /lib/common_test/doc | |
parent | 9a8bcc769b6e2bda63b8337e631d2d2f408f0dd8 (diff) | |
download | otp-109a257dc42f5212af1811b9a43af0bca7cba7a9.tar.gz otp-109a257dc42f5212af1811b9a43af0bca7cba7a9.tar.bz2 otp-109a257dc42f5212af1811b9a43af0bca7cba7a9.zip |
Added sasl_report:format_report/3 to return a string rather than send an io
sasl_report:write_report/3 calls io:format to output the report
message, but does not provide an option to generate a formatted string
rather than sending the message. sasl_report:format_report/3 is added
to allow the replacement of sasl_report with a different handler but
still generate reports in the same format. It returns the string
generated by io_lib:format. sasl_report:write_report/3 retains its
original behavior.
This patch was submitted in 2008 (see
http://www.erlang.org/cgi-bin/ezmlm-cgi/4/35061) but was never
incorporated into the source.
Diffstat (limited to 'lib/common_test/doc')
0 files changed, 0 insertions, 0 deletions