diff options
author | José Valim <[email protected]> | 2014-05-09 17:08:43 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-05-11 11:50:09 +0200 |
commit | 2dc1ca3bc664177a7d985c3e190464285e9b75fa (patch) | |
tree | 7b90002caf26152c2e5673f85bd21b26bf97af2c /erts/emulator/beam/sys.h | |
parent | ccb1a2f06aa2b0ab77447572797d7fd75b2bd3c4 (diff) | |
download | otp-2dc1ca3bc664177a7d985c3e190464285e9b75fa.tar.gz otp-2dc1ca3bc664177a7d985c3e190464285e9b75fa.tar.bz2 otp-2dc1ca3bc664177a7d985c3e190464285e9b75fa.zip |
Add erts_send_error_term_to_logger
This function allows us to send format and args to the
logger which can then be formatted and customized from
Erlang land.
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r-- | erts/emulator/beam/sys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h index 54059ee9a5..cd53069872 100644 --- a/erts/emulator/beam/sys.h +++ b/erts/emulator/beam/sys.h @@ -657,6 +657,7 @@ erts_dsprintf_buf_t *erts_create_logger_dsbuf(void); int erts_send_info_to_logger(Eterm, erts_dsprintf_buf_t *); int erts_send_warning_to_logger(Eterm, erts_dsprintf_buf_t *); int erts_send_error_to_logger(Eterm, erts_dsprintf_buf_t *); +int erts_send_error_term_to_logger(Eterm, erts_dsprintf_buf_t *, Eterm); int erts_send_info_to_logger_str(Eterm, char *); int erts_send_warning_to_logger_str(Eterm, char *); int erts_send_error_to_logger_str(Eterm, char *); |