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

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
Methods
public
TrackPortSpec (option oldValue)
log (level text)
remoteLog ()
Membervariables
public
host
port
socket

Options

-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.

Methods

TrackPortSpec (option oldValue)

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

log (level text)

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

remoteLog ()

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


Membervariables

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

Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries