27 lines
495 B
Markdown
27 lines
495 B
Markdown
# logger
|
|
|
|
This is a logging library that utilizes crystal macros for appending codebase metadata (Class & Calling function) into the log string for easier debugging
|
|
|
|
## Installation
|
|
|
|
1. Add the dependency to your `shard.yml`:
|
|
|
|
```yaml
|
|
dependencies:
|
|
logger:
|
|
git: https://git.arcanium.tech/tristan/logger
|
|
```
|
|
|
|
2. Run `shards install`
|
|
|
|
## Usage
|
|
|
|
```crystal
|
|
require "logger"
|
|
```
|
|
|
|
|
|
## Contributors
|
|
|
|
- [Tristan Ancelet](https://git.arcanium.tech/tristan) - creator and maintainer
|