diff options
author | Siri Hansen <[email protected]> | 2018-05-22 13:22:55 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-05-23 12:50:55 +0200 |
commit | 53539ee751da408029c9dfae80384fdec6c7a552 (patch) | |
tree | 7a9d516ca9d0678dd37748dd010fa62ff05df322 /lib/kernel/src/logger.erl | |
parent | 72f1ce276401e0b8de9c0c527cbc324da0186939 (diff) | |
download | otp-53539ee751da408029c9dfae80384fdec6c7a552.tar.gz otp-53539ee751da408029c9dfae80384fdec6c7a552.tar.bz2 otp-53539ee751da408029c9dfae80384fdec6c7a552.zip |
Update documentation of logger and error_logger
Diffstat (limited to 'lib/kernel/src/logger.erl')
-rw-r--r-- | lib/kernel/src/logger.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/kernel/src/logger.erl b/lib/kernel/src/logger.erl index 12f8dd77cf..3beb3102fa 100644 --- a/lib/kernel/src/logger.erl +++ b/lib/kernel/src/logger.erl @@ -81,7 +81,9 @@ mfa => {module(),atom(),non_neg_integer()}, file => file:filename(), line => non_neg_integer(), - term() => term()}. + domain => [atom()], + report_cb => fun((report()) -> {io:format(),[term()]}), + atom() => term()}. -type location() :: #{mfa := {module(),atom(),non_neg_integer()}, file := file:filename(), line := non_neg_integer()}. |