Skip to content

Conversation

@mwcraig
Copy link
Member

@mwcraig mwcraig commented Apr 25, 2014

Not sure I like this implementation. In particular, function signatures are lost when they are decorated.

Workarounds are:

  • Use the decorator package, which restores signatures but does an eval for each decorated function to do so.
  • Automate insertion of the original function signature in the docstring as part of the decorator.

mwcraig added a commit that referenced this pull request Apr 28, 2014
Initial implementation of logging

Now that function signatures are preserved in the docs this is ready, I think....though I fully expect it to change down the road.
@mwcraig mwcraig merged commit 578f74f into astropy:master Apr 28, 2014
@mwcraig mwcraig deleted the logging branch April 28, 2014 16:47
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.

1 participant