Logging conveniences for Hell servers
Allows dynamically adding and altering the log level used to trace connections
within a Hell server via the use of telemetry hooks. Should you wish
to do your own logging or tracking of these events, a complete list of the
telemetry events emitted by Hell is described in the module
documentation for Hell.Telemetry.
Summary
Types
Supported log levels
Functions
Start logging Hell at the specified log level. Valid values for log
level are :error, :info, :debug, and :trace. Enabling a given log
level implicitly enables all higher log levels as well.
Stop logging Hell at the specified log level. Disabling a given log level implicitly disables all lower log levels as well.
Types
Functions
@spec attach_logger(log_level()) :: :ok | {:error, :already_exists}
Start logging Hell at the specified log level. Valid values for log
level are :error, :info, :debug, and :trace. Enabling a given log
level implicitly enables all higher log levels as well.
@spec detach_logger(log_level()) :: :ok | {:error, :not_found}
Stop logging Hell at the specified log level. Disabling a given log level implicitly disables all lower log levels as well.