ring_logger v0.4.0 RingLogger.Autoclient

Helper module for RingLogger.Client to simplify IEx use

If you’re a human, call these functions via RingLogger.*. If you’re a program, call RingLogger.Client.start_link/1 to start you’re own client and call it directly.

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

Run a regular expression on each entry in the log and print out the matchers

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 grep(regex, config \\ [])

Run a regular expression on each entry in the log and print out the matchers.

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.