Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Session options for logging. #271

Merged

Conversation

wconrad
Copy link

@wconrad wconrad commented Dec 5, 2014

Document Session#initialize options:

  • :logger
  • :log_file
  • :logfile
  • :log_level

One of the guides mentions :logfile and :log_level, but not :logger
nor :logfile.

http://rubybunny.info/articles/connecting.html

I made the assumption that :logfile is deprecated and documented it as
such. However, since :logger is useful to me, I decided it must have
been accidentally omitted from the API docs and guide.

Document Session#initialize options:

* :logger
* :log_file
* :logfile
* :log_level

One of the guides mentions :logfile and :log_level, but not :logger
nor :logfile.

    http://rubybunny.info/articles/connecting.html

I made the assumption that :logfile is deprecated and documented it as
such.  However, since :logger is useful to me, I decided it must have
been accidentally omitted from the API docs and guide.
michaelklishin added a commit that referenced this pull request Dec 5, 2014
@michaelklishin michaelklishin merged commit 2dd3324 into ruby-amqp:master Dec 5, 2014
@michaelklishin
Copy link
Member

Feel free to submit a PR for the guides repo.

@wconrad wconrad deleted the document-session-logging-options branch December 9, 2014 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants