diff options
author | Zandra Hird <[email protected]> | 2015-05-20 15:14:39 +0200 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2015-05-20 15:14:39 +0200 |
commit | c714241a99cf608f290a7d8dcd9c22aae693dc97 (patch) | |
tree | 4ad43c712d89d40847be97b380660bc86180347c /erts/doc/src/erl.xml | |
parent | ec906eeb9cd9a2debc7d10962e087d790a14b31c (diff) | |
parent | 4c4d7fa40e5fb59854724ce74b8aa3546525cb90 (diff) | |
download | otp-c714241a99cf608f290a7d8dcd9c22aae693dc97.tar.gz otp-c714241a99cf608f290a7d8dcd9c22aae693dc97.tar.bz2 otp-c714241a99cf608f290a7d8dcd9c22aae693dc97.zip |
Merge branch 'richcarl/warnings-by-default'
* richcarl/warnings-by-default:
Map error logger warnings to warning messages by default
OTP-12755
Diffstat (limited to 'erts/doc/src/erl.xml')
-rw-r--r-- | erts/doc/src/erl.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml index ea94a4e82b..98d05dc7de 100644 --- a/erts/doc/src/erl.xml +++ b/erts/doc/src/erl.xml @@ -1322,13 +1322,14 @@ <item> <p>Verbose.</p> </item> - <tag><c><![CDATA[+W w | i]]></c></tag> + <tag><c><![CDATA[+W w | i | e]]></c></tag> <item> <p>Sets the mapping of warning messages for <c><![CDATA[error_logger]]></c>. Messages sent to the error logger using one of the warning - routines can be mapped either to errors (default), warnings - (<c><![CDATA[+W w]]></c>), or info reports (<c><![CDATA[+W i]]></c>). The current - mapping can be retrieved using + routines can be mapped either to errors (<c><![CDATA[+W e]]></c>), + warnings (<c><![CDATA[+W w]]></c>), or info reports + (<c><![CDATA[+W i]]></c>). The default is warnings. + The current mapping can be retrieved using <c><![CDATA[error_logger:warning_map/0]]></c>. See <seealso marker="kernel:error_logger#warning_map/0">error_logger(3)</seealso> for further information.</p> |