Patrick Mevzek > Net-DRI > Net::DRI::Logging::Syslog

Download:
Net-DRI-0.96.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.01   Source   Latest Release: Net-DRI-0.96_03

NAME ^

Net::DRI::Logging::Syslog - SYSLOG Logging Operations for Net::DRI

VERSION ^

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

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

SYNOPSIS ^

See Net::DRI::Logging

DESCRIPTION ^

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:

<netdri@jth.net>

Please also see the SUPPORT file in the distribution.

SEE ALSO ^

<http://www.dotandco.com/services/software/Net-DRI/>

AUTHOR ^

Jørgen Thomsen, <netdri@jth.net>

LICENSE AND COPYRIGHT ^

Copyright (c) 2009 Jørgen Thomsen <netdri@jth.net>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See the LICENSE file that comes with this distribution for more details.

syntax highlighting: