Syslog: White Paper FAQ Examples JavaDoc
Protomatter Classes v1.1.6

com.protomatter.syslog
Class SyslogMessage

java.lang.Object
  |
  +--com.protomatter.syslog.SyslogMessage

public class SyslogMessage
extends java.lang.Object

A utility class representing all the information needed to make a syslog call.


Field Summary
 java.lang.String channel
          The channel the message is for.
 java.lang.Object detail
          The detailed message.
 java.net.InetAddress host
          The address of the host making the call.
 int level
          The log level.
 java.lang.Object logger
          The object making the syslog call.
 java.lang.String loggerClassname
          The classname of the logger.
 java.lang.Object msg
          The message.
 java.lang.Thread thread
          The thread that made the log request.
 java.lang.String threadName
          The output of toString() on the thread that made the log request.
 long time
          The time the call was made.
 
Constructor Summary
SyslogMessage()
          Default constructor.
SyslogMessage(java.net.InetAddress host, long time, java.lang.String channel, java.lang.Object logger, java.lang.String loggerClassname, java.lang.Object msg, java.lang.Object detail, int level, java.lang.Thread thread, java.lang.String threadName)
          A utility constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

public java.net.InetAddress host
The address of the host making the call.

time

public long time
The time the call was made.

channel

public java.lang.String channel
The channel the message is for.

logger

public java.lang.Object logger
The object making the syslog call.

loggerClassname

public java.lang.String loggerClassname
The classname of the logger.

msg

public java.lang.Object msg
The message.

detail

public java.lang.Object detail
The detailed message.

level

public int level
The log level.

thread

public java.lang.Thread thread
The thread that made the log request.

threadName

public java.lang.String threadName
The output of toString() on the thread that made the log request.
Constructor Detail

SyslogMessage

public SyslogMessage()
Default constructor.

SyslogMessage

public SyslogMessage(java.net.InetAddress host,
                     long time,
                     java.lang.String channel,
                     java.lang.Object logger,
                     java.lang.String loggerClassname,
                     java.lang.Object msg,
                     java.lang.Object detail,
                     int level,
                     java.lang.Thread thread,
                     java.lang.String threadName)
A utility constructor.

Protomatter Classes v1.1.6
Copyright 1998-2001 Nate Sammons

Protomatter Classes v1.1.6 http://protomatter.sourceforge.net/1.1.6