sam / harbor

Harbor is a Ruby Web Framework.
https://github.com/sam/harbor
MIT License
3 stars 6 forks source link

Add logback support #80

Open sam opened 12 years ago

sam commented 12 years ago

Traditionally logging support was added by adding a :logger accessor to your class, and instantiating your class through Harbor::Container so that it would be assigned a Logger instance for you.

This methodology should be deprecated in favor of adding a Loggable module to Controllers, and allowing you to include it into other arbitrary classes.

Then we need a simple, unified configuration interface for logging that accomodates using rjack-logback under JRuby, and stdlib's Logger on CRuby.