… | … | ||
---|---|---|---|
854 | 854 | ||
855 | my $debug = AnyEvent::Debug->AnyEvent::Log::ctx; | 855 | my $debug = AnyEvent::Debug->AnyEvent::Log::ctx; |
856 | $debug->attach ($AnyEvent::Log::Default); | 856 | $debug->attach ($AnyEvent::Log::Default); |
857 | $debug->levels ("trace"); # not "level"! | 857 | $debug->levels ("trace"); # not "level"! |
858 | 858 | ||
859 | This of course works for any package. | ||
860 | |||
859 | =back | 861 | =back |
860 | 862 | ||
861 | =head1 AUTHOR | 863 | =head1 AUTHOR |
862 | 864 | ||
863 | Marc Lehmann <schmorp@schmorp.de> | 865 | Marc Lehmann <schmorp@schmorp.de> |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |