diff options
author | Richard Carlsson <[email protected]> | 2015-04-17 22:04:31 +0200 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2015-05-22 14:58:43 +0200 |
commit | 441842ce023bf8ef5dc84f2d5061b0b7c79c8130 (patch) | |
tree | 49af3281442e2a1799fdae4fd922eb5077b8347c /erts/doc | |
parent | b5f3973cc50a193be868e672b2ced6dd619427c4 (diff) | |
download | otp-441842ce023bf8ef5dc84f2d5061b0b7c79c8130.tar.gz otp-441842ce023bf8ef5dc84f2d5061b0b7c79c8130.tar.bz2 otp-441842ce023bf8ef5dc84f2d5061b0b7c79c8130.zip |
Map error logger warnings to warning messages by default
Also fix and document the broken +We option.
Diffstat (limited to 'erts/doc')
-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> |