syslog-stream:解析 RFC5424 Syslog 消息流

时间:2021-06-04 01:28:01
【文件属性】:
文件名称:syslog-stream:解析 RFC5424 Syslog 消息流
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-04 01:28:01
Ruby 系统日志::流 解析 RFC5424 Syslog 消息流 安装 将此行添加到应用程序的 Gemfile 中: gem "syslog-stream" 然后执行: bundle 或者使用 gem(1) 安装它: gem install syslog-stream 用法 Syslog::Stream::OctetCountingFraming.new应该能够接受任何 IO 对象。 require "stringio" require "syslog/stream" io = StringIO . new ( '176 <165>1 2003-10-11T22:14:15.003Z mymachine.example.com evntslog - ID47 ' \ '[exampleSDID@32473 iut="3" eventSource="Application"
【文件预览】:
syslog-stream-master
----.gitignore(87B)
----README.md(3KB)
----test()
--------syslog()
--------minitest_helper.rb(111B)
----Gemfile(39B)
----.ruby-version(6B)
----LICENSE(1KB)
----syslog-stream.gemspec(781B)
----.travis.yml(30B)
----lib()
--------syslog()
----Rakefile(175B)

网友评论