diff options
author | Siri Hansen <[email protected]> | 2018-08-31 17:08:24 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-09-12 14:58:02 +0200 |
commit | 96c1aa0041b368afceef0aef88e82a6c9f8e901d (patch) | |
tree | 2d0f3e086f3dd2b089968c7681786ffcd27c9cee /lib/stdlib/src/io_lib_pretty.erl | |
parent | 25b2daf1aa19c60eb12964015cc466dc506a3d89 (diff) | |
download | otp-96c1aa0041b368afceef0aef88e82a6c9f8e901d.tar.gz otp-96c1aa0041b368afceef0aef88e82a6c9f8e901d.tar.bz2 otp-96c1aa0041b368afceef0aef88e82a6c9f8e901d.zip |
[logger] Remove encoding option from logger_formatter
The encoding option was introduced in commit
270d909696a753af022df72a404c73f2895b4a02, to allow report callbacks to
format according to a given encoding. There was, however, no
connection between this encoding option, and the encoding of the
device to which the logger handler was writing.
Since a formatter is defined to return unicode:chardata(), and in
order to avoid mismatch with the encoding of the device, the encoding
option is now removed from the formatter. The handler itself must make
sure that it does not write illegal data to its device.
Diffstat (limited to 'lib/stdlib/src/io_lib_pretty.erl')
0 files changed, 0 insertions, 0 deletions