Method: LogDb.setup
- Defined in:
- lib/logutils/activerecord.rb
.setup ⇒ Object
check: use different name? e.g. configure or connect ?? why or why not?
50 51 52 53 |
# File 'lib/logutils/activerecord.rb', line 50 def self.setup # check: use different name? e.g. configure or connect ?? why or why not? # turn on logging to db - assumes active connection LogKernel::STDLOGGER.handlers << STDDBHANDLER end |