https://github.com/ergo-services/logger
Extra library of loggers for the Ergo Framework 3.0 (and above)
https://github.com/ergo-services/logger
Last synced: 9 months ago
JSON representation
Extra library of loggers for the Ergo Framework 3.0 (and above)
- Host: GitHub
- URL: https://github.com/ergo-services/logger
- Owner: ergo-services
- License: mit
- Created: 2024-02-08T00:09:02.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-05T13:12:52.000Z (10 months ago)
- Last Synced: 2025-04-11T06:12:21.068Z (9 months ago)
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://docs.ergo.services/extra-library/loggers)
[](https://opensource.org/licenses/MIT)
[](https://t.me/ergo_services)
[](https://twitter.com/ergo_services)
[](https://reddit.com/r/ergo_services)
Extra library of loggers for the Ergo Framework 3.0 (and above)
## colored
Enables colorized output of log messages. Highlights log levels, values of `gen.Atom`, `gen.PID`, `gen.ProcessID`, `gen.Alias`, `gen.Ref`, and `gen.Event`.
Don't forget to disable the default logger in order to get rid of duplicate log messages on stdout.

**Warning**: not intended to be used for intensive logging.
Doc: https://docs.ergo.services/extra-library/loggers/colored
## rotate
This logger writes log messages to the file and makes a rotation of them.
Doc: https://docs.ergo.services/extra-library/loggers/rotate