https://github.com/thalesfsp/sypl
Simple Yet Powerful Logger
https://github.com/thalesfsp/sypl
concurrency concurrent go golang logger multithread non-blocking text-processing
Last synced: 10 months ago
JSON representation
Simple Yet Powerful Logger
- Host: GitHub
- URL: https://github.com/thalesfsp/sypl
- Owner: thalesfsp
- License: mit
- Created: 2022-09-03T01:05:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-22T19:12:17.000Z (about 1 year ago)
- Last Synced: 2025-04-02T04:23:29.567Z (10 months ago)
- Topics: concurrency, concurrent, go, golang, logger, multithread, non-blocking, text-processing
- Language: Go
- Homepage: https://github.com/thalesfsp/sypl
- Size: 245 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# sypl
[](https://github.com/thalesfsp/sypl/actions/workflows/go.yml)
`sypl` provides a **S**imple **Y**et **P**owerful **L**ogger built on top of the Golang sypl. A sypl logger can have many `Output`s, and each `Output` is responsible for writing to a specified destination. Each `Output` can have multiple `Processor`s, which run in isolation manipulating the log message. The order of execution is important, and is according to the registering (add) order. These features allow `sypl` to fit into many different logging flows.
## Install
`$ go get github.com/thalesfsp/sypl`
### Specific version
Example: `$ go get github.com/thalesfsp/sypl@v1.2.0`
## Usage
See [`example_test.go`](example_test.go), and [`sypl_test.go`](sypl_test.go) file.
### Documentation
Run `$ make doc` or check out [online](https://pkg.go.dev/github.com/thalesfsp/sypl).
## How it works
A picture worth thousand words.

## Development
Check out [CONTRIBUTION](CONTRIBUTION.md).
### Release
1. Update [CHANGELOG](CHANGELOG.md) accordingly.
2. Once changes from MR are merged.
3. Tag and release.
## Roadmap
Check out [CHANGELOG](CHANGELOG.md).