Popularity
2.8
Declining
Activity
0.0
Stable
5
3
2
Programming language: Crystal
License: MIT License
Tags:
Logging And Monitoring
gelf-crystal alternatives and similar shards
Based on the "Logging and monitoring" category.
Alternatively, view gelf-crystal alternatives based on common mentions on social networks and blogs.
-
crystal-logreader
Reading lines in the text file which is growing and may be rotated, such as unix system log file.
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Promo
www.influxdata.com
Do you think we are missing an alternative of gelf-crystal or a related project?
README
gelf
A GELF compatible logger http://docs.graylog.org/en/latest/pages/gelf.html
Installation
Add this to your application's shard.yml
:
dependencies:
gelf:
github: benoist/gelf-crystal
Usage
require "gelf"
logger ||= GELF::Logger.new("localhost", port, "WAN").configure do |config|
config.facility = "gelf-cr"
config.host = "localhost"
config.level = Logger::DEBUG
end
logger.debug("some debug message")
logger.info("some info message")
logger.debug({ "short_message" => "some short message", "_extra_var" => "some var"}) # also set the short message
Contributing
- Fork it ( https://github.com/[your-github-name]/gelf/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request