ring_logger v0.3.0 RingLogger.Autoclient

This is a helper module for RingLogger.Client that makes it easy to use at the IEx prompt by removing the need to keep track of pids. Programs should normally call RingLogger.Client directly to avoid many of the automatic behaviors that this module adds.

Link to this section Summary

Functions

Attach to the logger and print messages as they come in

Detach from the logger. Log messages will stop being printed to the console

Completely stop the RingLogger.Client. You normally don’t need to run this

Format a log message. This is useful if you’re calling RingLogger.get/1 directly

Reset the index used to keep track of the position in the log for tail/1 so that the next call to tail/1 starts back at the oldest entry

Print all log messages since the previous time this was called

Link to this section Functions

Link to this function attach(config \\ [])

Attach to the logger and print messages as they come in.

Detach from the logger. Log messages will stop being printed to the console.

Completely stop the RingLogger.Client. You normally don’t need to run this.

Link to this function format(message)

Format a log message. This is useful if you’re calling RingLogger.get/1 directly.

Link to this function reset(config \\ [])

Reset the index used to keep track of the position in the log for tail/1 so that the next call to tail/1 starts back at the oldest entry.

Link to this function tail(config \\ [])

Print all log messages since the previous time this was called.