Joseph Weissman Joseph Weissman - 10 months ago 46
Ruby Question

Custom Logging Best Practices in Ruby

What are best practices for managing custom logging in Ruby? Should I be monkeypatching logger to do what I want? Or extending from it? Or delegating? What's the rubyish way? I'm sick of custom hacks for this; I'd like something cleaner, and ideally more elegant.

Answer Source

Have you checked log4r? It is the de facto standard and offers a comprehensive toolkit.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download