aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc/src/error_logger.xml
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-05-17 16:16:58 +0200
committerHans Bolinder <[email protected]>2017-05-18 15:36:34 +0200
commita99b0a2a570e7429b05f3ce424880744ee3a8814 (patch)
treec31d739d10110daff37488431c9f16c42ea05d4b /lib/kernel/doc/src/error_logger.xml
parent86a74bfaefd570245740624d85659efa8821765b (diff)
downloadotp-a99b0a2a570e7429b05f3ce424880744ee3a8814.tar.gz
otp-a99b0a2a570e7429b05f3ce424880744ee3a8814.tar.bz2
otp-a99b0a2a570e7429b05f3ce424880744ee3a8814.zip
kernel: Introcude error_logger:get_format_depth()
Diffstat (limited to 'lib/kernel/doc/src/error_logger.xml')
-rw-r--r--lib/kernel/doc/src/error_logger.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/kernel/doc/src/error_logger.xml b/lib/kernel/doc/src/error_logger.xml
index 814e8eac46..27db00819f 100644
--- a/lib/kernel/doc/src/error_logger.xml
+++ b/lib/kernel/doc/src/error_logger.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>1996</year><year>2016</year>
+ <year>1996</year><year>2017</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -163,6 +163,19 @@ ok</pre>
</desc>
</func>
<func>
+ <name name="get_format_depth" arity="0"/>
+ <fsummary>Get the value of the Kernel application variable
+ <c>error_logger_format_depth</c>.</fsummary>
+ <desc>
+ <p>Returns <c>max(10, Depth)</c>, where <c>Depth</c> is the
+ value of
+ <seealso marker="kernel:kernel_app#error_logger_format_depth">
+ error_logger_format_depth</seealso>
+ in the Kernel application, if Depth is an integer. Otherwise,
+ <c>unlimited</c> is returned.</p>
+ </desc>
+ </func>
+ <func>
<name name="info_msg" arity="1"/>
<name name="info_msg" arity="2"/>
<fsummary>Send a standard information event to the error logger.</fsummary>