Net::DRI::Logging::Syslog(3pm)

Net::DRI::Logging::Syslog3pm

Syslog logging operations for net::dri

Usage

See Net::DRI::Logging

Version

This documentation refers to Net::DRI::Logging::Syslog version 1.01

Read e.g. with pod2text Net/DRI/Logging/Syslog.pm|less

Overview

This class dumps all logging information to SYSLOG.

Examples

        $dri=Net::DRI->new({cache_ttl => 10,
                logging => ['syslog',
                                        {
                                        level => 'warning',
                                        xml_indent => 0,
                                        ident => 'NetDRI',
                                        priority => 'info',
                                        facility => 'local3',
                                        options => 'pid,nofatal',
                                        logopened => 0
                                        }
                                        ]
        });
        The values above are the default
- level, xml_ident

refer to Net::DRI::Logging

- ident, priority, facility, options

refer to Sys::Syslog

- logopened

Value 1: Sys::Syslog::openlog() already called, so do not call it in this module, but still specify ident, priority, and facility, if the defaults are not wanted

Subroutines/methods

All mandated by superclass Net::DRI::Logging.

Diagnostics

None.

Configuration and environment

None.

Dependencies

This modules has to be used inside the Net::DRI framework and needs the following components:

Sys::Syslog

Net::DRI::Logging

Incompatibilities

None

Bugs and limitations

No known bugs. Please report problems to author (see below) or use CPAN RT system. Patches are welcome.

Support

For now, support questions should be sent to:

<[email protected]>

Please also see the SUPPORT file in the distribution.

Releases

Unchanged in 2 releases since Debian 6.0 (Squeeze).

  1. 6.0–7

Author

Jorgen Thomsen, <[email protected]>

From libnet-dri-perl 0.96-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.