Toolshed.Log.log_attach
You're seeing just the function
log_attach
, go back to Toolshed.Log module for more information.
Specs
Attach the current session to the Elixir logger
This forwards incoming log messages to the terminal. Call detach/0
to stop
the messages.
Behind the scenes, this uses Elixir's built-in console logger and can be configured similarly. See the Logger console backend documentation for details. The following are useful options:
:level
- the minimum log level to report. E.g., specifylevel: :warning
to only see warnings and errors.:metadata
- a list of metadata keys to show or:all
Unspecified options use either the console backend's default or those found
in the application environment for the :console
Logger backend.