diff options
author | Björn Gustavsson <[email protected]> | 2015-09-09 12:37:52 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-09-09 12:37:52 +0200 |
commit | d307079cc7b88f89e8cf68fe189d1d329a47ad51 (patch) | |
tree | abfb7a4a861717f3b3704adb707293d0024bad26 /lib/stdlib/doc/src/proc_lib.xml | |
parent | 439de942a4db2a422dbfe7813f66b150f947313f (diff) | |
parent | d73f47345776d3567b50115af69d551077909514 (diff) | |
download | otp-d307079cc7b88f89e8cf68fe189d1d329a47ad51.tar.gz otp-d307079cc7b88f89e8cf68fe189d1d329a47ad51.tar.bz2 otp-d307079cc7b88f89e8cf68fe189d1d329a47ad51.zip |
Merge branch 'bjorn/error-loggers/OTP-12864' into maint
* bjorn/error-loggers/OTP-12864:
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/proc_lib.xml')
-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> |