Closed seriyps closed 2 years ago
Since we are already OTP-21+, there is no real reason to rely on hut for logger abstraction.
hut
It replaces #267 since other PR seems stuck.
This PR also adds domain metadata to each log gen_smtp generates so it's easier to filter logs generated by gen_smtp using logger_filters:domain.
domain
gen_smtp
Most of the changes were made by just running sed commands like this: sed -i 's/\?log(warning, /\?LOG_WARNING(/' src/*.erl
sed
sed -i 's/\?log(warning, /\?LOG_WARNING(/' src/*.erl
Since we are already OTP-21+, there is no real reason to rely on
hut
for logger abstraction.It replaces #267 since other PR seems stuck.
This PR also adds
domain
metadata to each log gen_smtp generates so it's easier to filter logs generated bygen_smtp
using logger_filters:domain.Most of the changes were made by just running
sed
commands like this:sed -i 's/\?log(warning, /\?LOG_WARNING(/' src/*.erl