Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v4.12.2
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.431 kb
TODO s for version 5
====================
Loggers as modules?
-------------------
Picky.logger = STDOUT
Picky.logger = Logger.new('log/picky.log')
Picky.logger = STDOUT.extend Picky::Loggers::Silent # <= Problematic.
Picky.logger = Logger.new('log/picky.log').extend Picky::Loggers::Verbose
...
def logger= loggy_thing
loggy_thing.extend Picky::Loggers::Concise # This then decides how to extend.
@logger = loggy_thing
end
Jump to Line
Something went wrong with that request. Please try again.