Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sml-log4r

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sml-log4r

  • 1.0.6
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

The examples are:

  1. outofthebox.rb - How to get started with minimal setup
  2. simpleconfig.rb - Using Log4r casually
  3. moderateconfig.rb - A more sophisticated config
  4. xmlconfig.rb and moderate.xml - XML configuration example based on #3
  5. rrsetup.rb and rrconfig.xml - A real example (or used to be ;-)
  6. logserver.rb and logclient.rb - Remote logging example
  7. fileroll.rb - Using RollingFileOutputter
  8. yaml.rb and log4r_yaml.yaml - YAML configuration example

The output will go to screen and to files in the directory logs/.

Note to RubyGems users: The syntax to require log4r as a gem is as follows:

require 'rubygems' require_gem 'log4r'

Obviously, the examples will need to be modified to follow this.

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc