pipe_logger v0.1.1 PipeLogger

Documentation for PipeLogger.

Link to this section Summary

Link to this section Functions

Link to this function debug(data, msg \\ "", metadata \\ [])

Pipe Logging.

Examples

iex> [1, 2, 3] |> PipeLogger.debug("msg") |> Enum.map(&(&1))
[1, 2, 3] # LOGGING >> 11:13:32.253 [debug] "msg"[1, 2, 3]
Link to this function error(data, msg \\ "", metadata \\ [])

Pipe Logging.

Examples

iex> [1, 2, 3] |> PipeLogger.error("msg") |> Enum.map(&(&1))
[1, 2, 3] # LOGGING >> 11:13:32.253 [error] "msg"[1, 2, 3]
Link to this function info(data, msg \\ "", metadata \\ [])

Pipe Logging.

Examples

iex> [1, 2, 3] |> PipeLogger.info("msg") |> Enum.map(&(&1))
[1, 2, 3] # LOGGING >> 11:13:32.253 [info] "msg"[1, 2, 3]
Link to this function warn(data, msg \\ "", metadata \\ [])

Pipe Logging.

Examples

iex> [1, 2, 3] |> PipeLogger.warn("msg") |> Enum.map(&(&1))
[1, 2, 3] # LOGGING >> 11:13:32.253 [warn] "msg"[1, 2, 3]