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

broken synopsis #2

Closed
wstlabs opened this issue Jun 27, 2012 · 2 comments
Closed

broken synopsis #2

wstlabs opened this issue Jun 27, 2012 · 2 comments

Comments

@wstlabs
Copy link

wstlabs commented Jun 27, 2012

If we do a quick grab-and-paste from the Synopsis, and try to run that in a shell, we find that the second line:

$log->set_adapter('FileHandle');

dies with the following somewhat cryptic error message:

Can't locate object method "set_adapter" via package "Log::Any::Adapter::Null" at synopsis.pl line 3.

Presumably you meant to have that line say:

Log::Any->set_adapter('FileHandle');

jasonjayr added a commit that referenced this issue Jul 5, 2012
Also add a test to ensure the example code in the SYOPSIS works with the released code.
jasonjayr added a commit that referenced this issue Jul 5, 2012
 - Includes documentation fixes as pointed out by wstlabs in issue #2
@jasonjayr
Copy link
Owner

Thanks for the heads up. I've pushed up a fix and released .007

@wstlabs
Copy link
Author

wstlabs commented Jul 7, 2012

awesome, thanks

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

No branches or pull requests

2 participants