Perl Cd Bookshelf [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Perl Cd Bookshelf [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید



8.195. Sys::Syslog


Interfaces to Unix
syslog(3) program. Requires the file
syslog.ph, which must be created with
h2ph by your system administrator. Provides the
following four functions.

closelog


closelog

Closes the log file.

openlog


openlog ident, logopt, facility

Opens the log file. Takes the following arguments:

ident
Prepended to every message

logopt
Logging options, containing one or more of:

cons
Writes messages to system console if they can't be
sent to syslogd

ndelay
Opens the connection immediately

nowait
Doesn't wait for child processes before logging
messages to the console

pid
Logs process ID

facility
Specifies the part of the system making the log entry

setlogmask


setlogmask mask_priority

Sets log mask to mask_priority and returns
the old mask.

syslog


syslog priority, mask, format, args

If priority and
mask permit, logs message formed as if by
sprintf(format,
args), with the addition that
%m is replaced with the current error message from
$!.



8.194. Sys::Hostname8.196. Term::Cap




Copyright © 2002 O'Reilly & Associates. All rights reserved.

/ 875