Skip to content

snamiki1212/pipe_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PipeLogger

Pipelogger can output log not to stop pipe line.

Installation

If available in Hex, the package can be installed by adding pipe_logger to your list of dependencies in mix.exs:

def deps do
  [
    {:pipe_logger, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/pipe_logger.

Usage

  require PipeLogger
  
  [1, 2, 3]
  |> PipeLogger.debug("logging message", label: 123)
  |> Enum.map(&(&1))