Andy Smith > Ham-Fldigi-0.02 > Ham::Fldigi::Debug

Download:
Ham-Fldigi-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.002   Source  

NAME ^

Ham::Fldigi::Debug - Colourful debug messages for Ham::Fldigi

SYNOPSIS ^

  use Ham::Fldigi;
        use base qw(Ham::Fldigi::Debug)

        ...
        $self->debug("This is a debug message!");

DESCRIPTION ^

Colourful debug/error messages for Ham::Fldigi.

By default, none of the calls output anything - either to screen or to a logfile. This is intentional so as not to interfere when Ham::Fldigi is used by third-party scripts.

If you do want to make use of the logging functions, see the documentation for Ham::Fldigi's new().

EXPORT

debug, error, warning and notice.

METHODS ^

debug(message)

Print a debug message.

error(message)

Print an error message.

warning(message)

Print a warning message.

notice(message)

Print a notice message.

SEE ALSO ^

The source code for this module is hosted on Github at https://github.com/m0vkg/Perl-Ham-Fldigi.

AUTHOR ^

Andy Smith M0VKG, <andy@m0vkg.org.uk>

COPYRIGHT AND LICENSE ^

Copyright (C) 2012 by Andy Smith

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.4 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: