18 lines
465 B
Elixir
18 lines
465 B
Elixir
# Add Toolshed helpers to the IEx session
|
|
use Toolshed
|
|
|
|
if RingLogger in Application.get_env(:logger, :backends, []) do
|
|
IO.puts """
|
|
RingLogger is collecting log messages from Elixir and Linux. To see the
|
|
messages, either attach the current IEx session to the logger:
|
|
|
|
RingLogger.attach
|
|
|
|
or print the next messages in the log:
|
|
|
|
RingLogger.next
|
|
"""
|
|
end
|
|
|
|
# Be careful when adding to this file. Nearly any error can crash the VM and
|
|
# cause a reboot.
|