1 package com.protomatter.syslog; 2 3 52 53 import java.util.*; 54 import java.net.*; 55 56 import com.protomatter.util.StackTraceInfo; 57 58 62 public class SyslogMessage 63 { 64 67 public InetAddress host = null; 68 69 72 public long time = 0L; 73 74 77 public String channel = null; 78 79 82 public Object logger = null; 83 84 87 public String loggerClassname = null; 88 89 93 public String callingMethodName = null; 94 95 99 public int callingMethodLineNumber = StackTraceInfo.LINE_NUMBER_UNKNOWN; 100 101 104 public Object msg = null; 105 106 109 public Object detail = null; 110 111 114 public int level = 0; 115 116 119 public Thread thread = null; 120 121 124 public String threadName = null; 125 126 129 public SyslogMessage() 130 { 131 super(); 132 } 133 134 137 public SyslogMessage(InetAddress host, long time, String channel, 138 Object logger, String loggerClassname, 139 Object msg, Object detail, int level, 140 Thread thread, String threadName, String methodName, 141 int lineNumber) 142 { 143 this(); 144 145 this.host = host; 146 this.time = time; 147 this.channel = channel; 148 this.logger = logger; 149 this.loggerClassname = loggerClassname; 150 this.msg = msg; 151 this.detail = detail; 152 this.level = level; 153 this.thread = thread; 154 this.threadName = threadName; 155 this.callingMethodName = methodName; 156 this.callingMethodLineNumber = lineNumber; 157 } 158 } 159 | Popular Tags |