diff options
author | Hans Bolinder <[email protected]> | 2015-09-09 12:51:47 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2015-09-09 12:51:47 +0200 |
commit | ddd1acec5100f5bcc96b29f09b80edd717746edf (patch) | |
tree | dcd67499c1684f208e761cf5411286a3bbc3d2c0 /lib/stdlib/doc/src | |
parent | fc04b7b20834cf29a6c62e4f17ff8a540d493cf1 (diff) | |
parent | 59911612aec5f18b099dbc518089dd3ce48fdd97 (diff) | |
download | otp-ddd1acec5100f5bcc96b29f09b80edd717746edf.tar.gz otp-ddd1acec5100f5bcc96b29f09b80edd717746edf.tar.bz2 otp-ddd1acec5100f5bcc96b29f09b80edd717746edf.zip |
Merge branch 'maint'
* maint:
dialyzer: Add a testcase
Add documentation
Introduce sasl_report_SUITE
Teach sasl_report to limit crash reports
proc_lib: Add format/3
Teach error_logger_tty_h to truncate big messages
error_logger_tty_h: Refactor and modernize code
Teach error_logger_file_h to truncate big messages
error_logger_file_h: Refactor and modernize code
Remove unused code in error logger handlers
Add error_logger_h_SUITE
sasl_SUITE: Add a rudimentary test of the utc_log configuration
sasl_SUITE: Correct the log_file/1 test case
proc_lib_SUITE: Remove added report handlers
zip_SUITE: Don't trust priv_dir to be empty
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r-- | lib/stdlib/doc/src/proc_lib.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/proc_lib.xml b/lib/stdlib/doc/src/proc_lib.xml index 86ade8840f..85f0c0c908 100644 --- a/lib/stdlib/doc/src/proc_lib.xml +++ b/lib/stdlib/doc/src/proc_lib.xml @@ -227,6 +227,17 @@ init(Parent) -> </desc> </func> <func> + <name name="format" arity="3"/> + <fsummary>Format a crash report.</fsummary> + <desc> + <p>This function can be used by a user defined event handler to + format a crash report. When <anno>Depth</anno> is given as an + positive integer, it will be used in the format string to + limit the output as follows: <c>io_lib:format("~P", + [Term,<anno>Depth</anno>])</c>.</p> + </desc> + </func> + <func> <name name="initial_call" arity="1"/> <fsummary>Extract the initial call of a <c>proc_lib</c>spawned process.</fsummary> <desc> |