crylog
Version, currently 0.1.56 versions
github.com/Blacksmoke16/crylog
Flexible logger framework for Crystal based on Monolog.
16 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
crylog:
github: Blacksmoke16/crylog
version: ~> 0.1.5Then run:
shards installshard.yml
- Crystal
0.31.1- License
- MIT
- Author
- Blacksmoke16 <Blacksmoke16@eve.tools>
Dependencies
Development Dependencies
- ameba~> 0.10.0github: crystal-ameba/amebadev
README
# Crylog
[](https://travis-ci.org/Blacksmoke16/crylog)
[](https://github.com/Blacksmoke16/crylog/releases)
Flexible logging framework based on [Monolog](https://github.com/Seldaek/monolog).
## Roadmap
Currently, the base functionality is complete.
If someones wishes to make a PR and "own" a specific handler (or formatter/processor), I would welcome the PR. Maintainers, with their handlers, will be listed at the bottom. Otherwise, feel free to create an issue.
## Core Concepts
- Logger - An instance of `Crylog::Logger` that logs messages, optionally with context.
- Handler - Writes the log message to somewhere/something.
- Processor - Adds metadata to each logged message.
- Formatter - Determines how a logged message appears.
### Severity
`Crylog` uses the log levels as described in [RFC 5424](https://tools.ietf.org/html/rfc5424#section-6.2.1):
- Emergency: system is unusable
- Alert: action must be taken immediately
- Critical: critical conditions
- Error: error conditions
- Warning: warning conditions
- Notice: normal but significant condition
- Informational: informational messages
- Debug: debug-level messages
Convenience methods are defined for each i.e. `logger.info`, `logger.alert`, etc.
### Additional Documentation
[Documentation](./docs)
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
crylog:
github: Blacksmoke16/crylog
```
## Contributing
1. Fork it (<https://github.com/Blacksmoke16/crylog/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [Blacksmoke16](https://github.com/Blacksmoke16) Blacksmoke16 - creator, maintainer
### Handlers
Those that created/maintain handlers for a specific service/system will be listed here.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.5- Tagged
- Nov 20, 2019
- Commit
32cbecf45758- Crystal
0.31.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Blacksmoke16/crylog
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 6