Module: DiandianOAuth::Logger
- Included in:
- DiandianOAuth
- Defined in:
- lib/diandian_oauth.rb
Instance Method Summary collapse
Instance Method Details
#logger(*args) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/diandian_oauth.rb', line 10 def logger *args if args.empty? @logger else @logger = ::Logger.new *args end end |