File 'base/remoteLog.cls' (part of 'Pool_Base')


Home | Packages | Files | Procedures | Classes | Keywords | External packages


Written by
Andreas Kupries
Description
Helper to syslog. Allows users to prepend the generated messages with a prefix of their own choice.

Class 'remoteLog'

Options
portspec
Membervariables
host, port, socket
Methods
TrackPortSpec, log, remoteLog

-portspec
The specification of the port to send the logged messages to. A list containing two elements, the name of the target host, and the port used there, in this order.

host
The host-part of portspec
port
The port-part of portspec
socket
The handle of the channel created via portspec.

TrackPortSpec (option oldValue)

Configure procedure. Propagates changes to the port specification to host, port and socket.
Argument: optionThe changed option.
Argument: oldValueThe old value of the option.

log (level text)

This method sends the incoming messages down the socket.
Argument: levelRelative importance of the logged message. Should be one of the strings returned by ::pool::syslog::levels.
Argument: textThe message to log.

remoteLog ()

Constructor, initializes the port specification (as empty) portspec.


Generated by AutoDoc 2.1 at 02/20/1999, invoked by Andreas Kupries