Syslog White Paper FAQ Examples JavaDoc Classloader
Protomatter Software v1.1.7

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 Software v1.1.7
Copyright 1998-2002 Nate Sammons

Protomatter Software v1.1.7 http://protomatter.sourceforge.net/1.1.7