diff options
author | Siri Hansen <[email protected]> | 2018-06-28 14:52:11 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-07-13 12:20:26 +0200 |
commit | 270d909696a753af022df72a404c73f2895b4a02 (patch) | |
tree | 83a8d9635dc7dc3320724c24dbfbaa106e0be806 /bin/.gitignore | |
parent | c606b5659908618a4e54a1ac7af90f8f4e78c2c8 (diff) | |
download | otp-270d909696a753af022df72a404c73f2895b4a02.tar.gz otp-270d909696a753af022df72a404c73f2895b4a02.tar.bz2 otp-270d909696a753af022df72a404c73f2895b4a02.zip |
[logger] Allow report callback with two arguments returning a string
If the report callback is a fun of arity 2, then the second argument
is a map with the keys 'encoding', 'depth' and 'chars_limit', and the
fun must return a string which is size limited according to the given
depth and chars_limit.
If the report callback is a fun of arity 1, then it must return a
tuple containing a format string and a list of arguments. The
formatter will produce the string, and limit it's size.
Diffstat (limited to 'bin/.gitignore')
0 files changed, 0 insertions, 0 deletions