LOG处理SystemLoggerEvent.java
发表于:2007-05-25来源:作者:点击数:
标签:log处理
import java .util.*; public class SystemLoggerEvent extends EventObject { private String msg; private String line; private int level; private Exception exception; public SystemLoggerEvent( Object source, int level, String msg, Exception e,
import
java.util.*;
public class SystemLoggerEvent extends EventObject {
private String msg;
private String line;
private int level;
private Exception exception;
public SystemLoggerEvent(
Object source, int level, String msg, Exception e, String line) {
super(source);
this.level = level;
this.msg = msg;
this.exception = e;
this.line = line;
}
public int getLevel() {
return level;
}
public String getMessage() {
return msg;
}
public Exception getException() {
return exception;
}
public String getPrintLine() {
return line;
}
}
原文转自:http://www.ltesting.net
- 评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)
-
|