yell:大吼大叫-您的可扩展日志记录库

时间:2021-04-13 11:39:29
【文件属性】:
文件名称:yell:大吼大叫-您的可扩展日志记录库
文件大小:50KB
文件格式:ZIP
更新时间:2021-04-13 11:39:29
Ruby 叫喊 大喊-您的可扩展日志记录库是Ruby的全面日志记录替代品。 Yell可以工作,并且其测试套件当前可以在以下环境中运行: Ruby头,2.3.1,2.2.5,2.2.2,2.1.0,2.0.0 jruby-head,jruby-9.1.0.0,jruby-9.0.0.0 如果您想方便地将Yell与Rails结合使用,请前往 。 不过,您将在此存储库中找到所有文档。 安装 系统范围: gem install yell 或在您的Gemfile中: gem "yell" 用法 从根本上讲,您可以像使用具有更复杂消息格式器的任何其他日志记录库一样使用Yell。 logger = Yell . new STDOUT logger . info "Hello World" #=> "2012-02-29T09:30:00+01:00 [ INFO] 65784 : Hello W
【文件预览】:
yell-master
----.travis.yml(341B)
----yell.gemspec(1KB)
----Rakefile(322B)
----Gemfile(439B)
----examples()
--------003.1-formatting-DefaultFormat.rb(536B)
--------006.1-the-loggable-module.rb(663B)
--------005.1-repository.rb(388B)
--------004.1-colorizing-the-log-output.rb(394B)
--------003.4-formatting-on-your-own.rb(541B)
--------002.3-log-level-within-range.rb(674B)
--------002.1-log-level-basics.rb(548B)
--------003.2-formatting-BasicFormat.rb(463B)
--------003.3-formatting-ExtendedFormat.rb(528B)
--------002.2-log-level-on-certain-severities-only.rb(729B)
--------006.2-the-loggable-module-with-inheritance.rb(707B)
--------001-basic-usage.rb(568B)
----spec()
--------compatibility()
--------yell_spec.rb(3KB)
--------threaded()
--------yell()
--------spec_helper.rb(969B)
--------fixtures()
----.ruby-version(6B)
----.gitignore(129B)
----lib()
--------yell.rb(5KB)
--------core_ext()
--------yell()
----README.md(7KB)
----LICENSE.txt(1KB)

网友评论