一起学习
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;
}
}
下载本文示例代码
LOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.javaLOG处理SystemLoggerEvent.java
阅读(131) | 评论(0) | 转发(0) |