Popularity
3.8
Declining
Activity
0.0
Stable
14
1
3
Programming language: Crystal
License: MIT License
Tags:
Logging And Monitoring
syslog.cr alternatives and similar shards
Based on the "Logging and monitoring" category.
Alternatively, view syslog.cr 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.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of syslog.cr or a related project?
README
Syslog.cr
Syslog client implementation for Crystal (work in progress!)
Installation
Add this to your application's shard.yml
:
dependencies:
syslog:
github: comandeo/syslog.cr
Usage
require "syslog"
# Use local syslog with defaults:
# - logging to `/dev/log`
# - syslog port: 514
# - log level: INFO
# - application hostname: localhost
# - application name: ""
# - syslog facility: local4
# - log level: INFO
logger = Syslog::Logger.new
logger.info("Something interesting happened")
# Use remote syslog with some custom params
logger = Syslog::Logger.new(
remote: true,
syslog_host: "logger.company.com",
syslog_port: 1234,
appname: "application.company.com",
facility: Syslog::Facility::USER
)
logger.error("Something bad happened")
Contributing
- Fork it ( https://github.com/comandeo/syslog/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
Contributors
- comandeo Dmitry Rybakov - creator, maintainer