https://github.com/saucelabs/sypl
Simple Yet Powerful Logger
https://github.com/saucelabs/sypl
concurrency concurrent go golang logger multithread non-blocking text-processing
Last synced: 9 months ago
JSON representation
Simple Yet Powerful Logger
- Host: GitHub
- URL: https://github.com/saucelabs/sypl
- Owner: saucelabs
- License: mit
- Archived: true
- Created: 2021-07-08T15:58:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T09:19:52.000Z (almost 3 years ago)
- Last Synced: 2025-03-30T17:41:01.178Z (11 months ago)
- Topics: concurrency, concurrent, go, golang, logger, multithread, non-blocking, text-processing
- Language: Go
- Homepage: https://github.com/saucelabs/sypl
- Size: 265 KB
- Stars: 8
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# sypl
`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/saucelabs/sypl`
### Specific version
Example: `$ go get github.com/saucelabs/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/saucelabs/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).