The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::SixXS::Diag::None - swallow diagnostic messages whole

SYNOPSIS

  package main;

  use Net::SixXS::TIC::Client;
  use Net::SixXS::Diag::None;

  my $c = Net::SixXS::TIC::Client->new(...,
      diag => Net::SixXS::Diag::None->new());

DESCRIPTION

The Net::SixXS::Diag::None class implements the Net::SixXS::Diag role by ignoring all messages passed to its debug() method.

METHODS

The Net::SixXS::Diag::None class implements the Net::SixXS::Diag role by supplying a single method named debug() that ignores any messages.

SEE ALSO

Net::SixXS::Diag, Net::SixXS::Diag::MainDebug

LICENSE

Copyright (C) 2015 Peter Pentchev <roam@ringlet.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Peter Pentchev <roam@ringlet.net>