diff options
author | Hans Bolinder <[email protected]> | 2012-01-31 15:46:47 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2012-01-31 15:46:47 +0100 |
commit | 0c03cc0b8df68f1531947e0c117e9606ad3daf08 (patch) | |
tree | 21276fdb89ee105def771732262c344e4ade78f6 /lib/kernel/src/error_logger.erl | |
parent | 8c9975b642c3f3eb76eaa5ea5964226ac1e4600b (diff) | |
parent | 037150979ff809df85757bd2b3f676e2e4c6be88 (diff) | |
download | otp-0c03cc0b8df68f1531947e0c117e9606ad3daf08.tar.gz otp-0c03cc0b8df68f1531947e0c117e9606ad3daf08.tar.bz2 otp-0c03cc0b8df68f1531947e0c117e9606ad3daf08.zip |
Merge branch 'hb/bif_specs/OTP-9862'
* hb/bif_specs/OTP-9862:
Move types and specs from erl_bif_types.erl to modules
Diffstat (limited to 'lib/kernel/src/error_logger.erl')
-rw-r--r-- | lib/kernel/src/error_logger.erl | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/kernel/src/error_logger.erl b/lib/kernel/src/error_logger.erl index f94cca000f..92c1eb80dc 100644 --- a/lib/kernel/src/error_logger.erl +++ b/lib/kernel/src/error_logger.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1996-2011. All Rights Reserved. +%% Copyright Ericsson AB 1996-2012. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -42,6 +42,18 @@ -type state() :: {non_neg_integer(), non_neg_integer(), [term()]}. +%%% BIF + +-export([warning_map/0]). + +-spec warning_map() -> Tag when + Tag :: error | warning | info. + +warning_map() -> + erlang:nif_error(undef). + +%%% End of BIF + %%----------------------------------------------------------------- -spec start() -> {'ok', pid()} | {'error', any()}. |