https://github.com/snamiki1212/pipe_logger
Logging library during pipe operator
https://github.com/snamiki1212/pipe_logger
elixir elixir-lang elixir-language elixir-library
Last synced: about 2 months ago
JSON representation
Logging library during pipe operator
- Host: GitHub
- URL: https://github.com/snamiki1212/pipe_logger
- Owner: snamiki1212
- License: mit
- Created: 2018-03-29T10:47:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-14T18:52:10.000Z (over 4 years ago)
- Last Synced: 2025-03-11T02:19:26.002Z (2 months ago)
- Topics: elixir, elixir-lang, elixir-language, elixir-library
- Language: Elixir
- Homepage: https://hex.pm/packages/pipe_logger
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PipeLogger
Pipelogger can output log not to stop pipe line.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `pipe_logger` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:pipe_logger, "~> 0.1.0"}
]
end
```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/pipe_logger](https://hexdocs.pm/pipe_logger).## Usage
```elixir
require PipeLogger
[1, 2, 3]
|> PipeLogger.debug("logging message", label: 123)
|> Enum.map(&(&1))
```