GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  VERILOG::NETLIST::LOGGER (3)

.ds Aq ’

NAME

Verilog::Netlist::Logger - Error collection and reporting

CONTENTS

SYNOPSIS



  use Verilog::Netlist::Logger;

  ...

  my $self = Verilog::Netlist::Logger->new();
  $self->info("Were here\n");
  $self->warn("Things look bad\n");
  $self->error("Things are even worse\n");
  $self->exit_if_error();



DESCRIPTION

The Verilog::Netlist::Logger is used to report all errors detected by Verilog::Netlist::* structures. By default, Verilog::Netlist creates a new Logger object, and passes it down to all contained objects. Users may create their own logger objects to catch or otherwise handle error messages.

MEMBER FUNCTIONS

$self->error (object, Text...) Print an error about the object in a standard format. The object must have a fileline method.
$self->exit_if_error([allow=>’warning’]) Exits the program if any errors were detected. Optionally specify allow=>’warning’ to ignore warnings.
$self->info (Text...) Print an informational about the object in a standard format. The object must have a fileline method.
$self->lineno() The line number the entity was created on.
$self->unlink_if_error (filename) Requests the given file be deleted if any errors are detected when the Logger object is destroyed. Used for temporary files.
$self->warn (Text...) Print a warning about the object in a standard format. The object must have a fileline method.

DISTRIBUTION

Verilog-Perl is part of the <http://www.veripool.org/> free Verilog EDA software tool suite. The latest version is available from CPAN and from <http://www.veripool.org/verilog-perl>.

Copyright 2000-2016 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>

SEE ALSO

Verilog-Perl, Verilog::Netlist, Verilog::Netlist::Subclass
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NETLIST::LOGGER (3) 2016-02-02

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.