-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
Milestone
Description
- Convert usage of
:error_logger
to:logger
- Migrate
:console
backend to be defined as a formatter forlogger_std_h
- this will allow to use the same format as Elixir is using for other handlers as well (requires Allow binaries as parts of logger_formatter template erlang/otp#2491 - OTP 24+ and Allow using custom IO devices in logger_std_h erlang/otp#2523 - OTP 23+) - Only attach built-in
Logger.Handler
if there will be backends (depends on the above) - Expose API for module and application level verbosity control (Expose functions for setting per-module levels #9793)
- Expose and document all of Erlang built-in logger levels (Expose all logger levels #9791)
- Add support for passing map as a "message" to the
Logger
macros to allow structured logging (needs to be fully discussed before) (Add structured logging #9797) - Use
time
field from metadata instead of generating new timestamp (Use Erlang's logger timestamp #9772) - Make
Logger.Formatter
works also as a Erlang's logger formatter for use with Erlang's logger handlers - Make translators a filter
- Document usage and configuration of Erlang's handlers with Elixir's
Logger
(such as the file handler with rotation) - Add API to set the global metadata (OTP 24+) (Expose :logger's global metadata #12413)
- Expose
:logger.add_handlers/1
(with an atom) (Add Logger.add_handlers/1 #12412) - Rewrite
capture_log
to use Erlang handlers (Use Erlang logger handlers in ExUnit.CaptureLog #12408) - Publish and CI
:logger_backends
with elixir: ~> 1.15 (https://hex.pm/packages/logger_backends/1.0.0-rc.0)
lin72h, umbec, whatyouhide, NoBrainSkull, tmartin8080 and 1 more