diff options
author | Richard Carlsson <[email protected]> | 2015-04-17 22:04:31 +0200 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2015-05-18 13:56:24 +0200 |
commit | 4c4d7fa40e5fb59854724ce74b8aa3546525cb90 (patch) | |
tree | 30bd2775cbb01da014058de64982f8892c26db6c /erts/doc/src/erl.xml | |
parent | bcc5248a76ee692ede18367a1f3d6cd9acd6cde7 (diff) | |
download | otp-4c4d7fa40e5fb59854724ce74b8aa3546525cb90.tar.gz otp-4c4d7fa40e5fb59854724ce74b8aa3546525cb90.tar.bz2 otp-4c4d7fa40e5fb59854724ce74b8aa3546525cb90.zip |
Map error logger warnings to warning messages by default
Also fix and document the broken +We option.
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> |